Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(513)

Unified Diff: rietveld.py

Issue 7016038: The Rietveld.get_pending_issue() was totally wrong. Fix it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rietveld.py
diff --git a/rietveld.py b/rietveld.py
index 0bcb19f4a88e1d3968bc6b5fa0f334feaefc01b4..b2284bb17e652c046987c8104daf26b24f5b9e60 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):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698