Fix regression where the issue description to be updated when closing an issue on commit/push.

The regression was introduced in r87253.

TBR=dpranke@chromium.org
BUG=
TEST=

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@87550 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
maruel@chromium.org 14 years ago
parent e939bb5de3
commit 607bb1b2fe

@ -562,7 +562,10 @@ or verify this branch is set up to track another (via the --track argument to
return output
def CloseIssue(self):
return self.RpcServer().close_issue(int(self.GetIssue()))
"""Updates the description and closes the issue."""
issue = int(self.GetIssue())
self.RpcServer().update_description(issue, self.description)
return self.RpcServer().close_issue(issue)
def SetFlag(self, flag, value):
"""Patchset must match."""

Loading…
Cancel
Save