Commit 404d4e10 authored by maruel@chromium.org's avatar maruel@chromium.org

Fix gcl.py error introduced in r196786.

The hostname was used instead of the rpc object.

TBR=phajdan.jr@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/14305019

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@196798 0039d316-1c4b-4281-b951-d872f2087c98
parent e52678e0
...@@ -389,7 +389,7 @@ class ChangeInfo(object): ...@@ -389,7 +389,7 @@ class ChangeInfo(object):
def GetApprovingReviewers(self): def GetApprovingReviewers(self):
"""Returns the issue reviewers list from Rietveld.""" """Returns the issue reviewers list from Rietveld."""
return git_cl.get_approving_reviewers( return git_cl.get_approving_reviewers(
self.rietveld.get_issue_properties(self.issue, False)) self.RpcServer().get_issue_properties(self.issue, False))
def AddComment(self, comment): def AddComment(self, comment):
"""Adds a comment for an issue on Rietveld. """Adds a comment for an issue on Rietveld.
......
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