The Rietveld.get_pending_issue() was totally wrong. Fix it.

I wonder how it worked at all. That explains some weird behavior when it was
ignoring issues recently.

Also enabled limit=1000 in case there's a huge bottleneck.

R=dpranke@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/7016038

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@85516 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
maruel@chromium.org 14 years ago
parent 31dcb497a0
commit 5d46830b28

@ -65,7 +65,7 @@ class Rietveld(object):
def get_pending_issues(self):
"""Returns an array of dict of all the pending issues on the server."""
return json.loads(self.get(
'/search?format=json&commit=True&closed=False&keys_only=True')
'/search?format=json&commit=2&closed=3&keys_only=True&limit=1000')
)['results']
def close_issue(self, issue):

Loading…
Cancel
Save