From 11a899e057ace06db1fed04ad696e10e5a30b41b Mon Sep 17 00:00:00 2001 From: "tandrii@chromium.org" Date: Wed, 13 Apr 2016 12:45:44 +0000 Subject: [PATCH] Fix regression in git cl for Gerrit. TBR=andybons@chromium.org BUG= Review URL: https://codereview.chromium.org/1884673004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299885 0039d316-1c4b-4281-b951-d872f2087c98 --- git_cl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git_cl.py b/git_cl.py index 37d0523fc..b1121560e 100755 --- a/git_cl.py +++ b/git_cl.py @@ -2126,7 +2126,8 @@ class _GerritChangelistImpl(_ChangelistCodereviewBase): options = options or [] issue = issue or self.GetIssue() assert issue, 'issue required to query Gerrit' - return gerrit_util.GetChangeDetail(self._GetGerritHost(), options, issue) + return gerrit_util.GetChangeDetail(self._GetGerritHost(), str(issue), + options) def CMDLand(self, force, bypass_hooks, verbose): if git_common.is_dirty_git_tree('land'):