Chromium Code Reviews| Index: rietveld.py |
| diff --git a/rietveld.py b/rietveld.py |
| index a03fe77e3e8d216ca0e8590919d62d800ffa423a..80f414f645a94a926d0b06e3777811bbb6f9aae7 100644 |
| --- a/rietveld.py |
| +++ b/rietveld.py |
| @@ -70,9 +70,9 @@ 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=2&closed=3&keys_only=True&limit=1000') |
| - )['results'] |
| + return json.loads( |
| + self.get('/search?format=json&commit=2&closed=3&' |
| + 'keys_only=True&limit=1000&order=__key__'))['results'] |
|
M-A Ruel
2012/11/08 21:04:30
Please add a TODO that it should be converted to u
|
| def close_issue(self, issue): |
| """Closes the Rietveld issue for this changelist.""" |