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

Unified Diff: scripts/slave/recipe_modules/gclient/api.py

Issue 23889036: Refactor the way that TestApi works so that it is actually useful. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: once more... Created 7 years, 3 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
Index: scripts/slave/recipe_modules/gclient/api.py
diff --git a/scripts/slave/recipe_modules/gclient/api.py b/scripts/slave/recipe_modules/gclient/api.py
index debbc3baae277742495d8b45b22f31a08f1a00ee..c9ce2bedb2fcc5d90df8aeb125c667786be9bc6b 100644
--- a/scripts/slave/recipe_modules/gclient/api.py
+++ b/scripts/slave/recipe_modules/gclient/api.py
@@ -14,8 +14,9 @@ def jsonish_to_python(spec, is_top=False):
if isinstance(spec, dict):
ret += '{'
ret += ', '.join(
- "%s: %s"
- % (repr(str(k)), jsonish_to_python(spec[k])) for k in sorted(spec))
+ "%s: %s" % (repr(str(k)), jsonish_to_python(spec[k]))
+ for k in sorted(spec)
+ )
ret += '}'
elif isinstance(spec, list):
ret += '['

Powered by Google App Engine
This is Rietveld 408576698