From 5d46830b286db986e04219d8764ce0d9ef5d45c6 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Mon, 16 May 2011 19:38:45 +0000 Subject: [PATCH] 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 --- rietveld.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rietveld.py b/rietveld.py index 0bcb19f4a8..b2284bb17e 100644 --- a/rietveld.py +++ b/rietveld.py @@ -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):