Commit cc5f17ee authored by Andrii Shyshkalov's avatar Andrii Shyshkalov Committed by Commit Bot

git cl: remove more unused func kwargs.

R=ehmaldonado

Change-Id: Ia35da60783cfbfd472646176d8fc669d8f4d9839
Reviewed-on: https://chromium-review.googlesource.com/1185989
Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
Reviewed-by: 's avatarEdward Lesmes <ehmaldonado@chromium.org>
parent b7214602
......@@ -2704,8 +2704,8 @@ class _GerritChangelistImpl(_ChangelistCodereviewBase):
self._detail_cache.setdefault(issue, []).append((frozenset(options), data))
return data
def _GetChangeCommit(self, issue=None):
issue = issue or self.GetIssue()
def _GetChangeCommit(self):
issue = self.GetIssue()
assert issue, 'issue is required to query Gerrit'
try:
data = gerrit_util.GetChangeCommit(self._GetGerritHost(), str(issue))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment