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

Unified Diff: gcl.py

Issue 126032: Fix 'gcl settings' output. (Closed)
Patch Set: Created 11 years, 6 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: gcl.py
diff --git a/gcl.py b/gcl.py
index 7170032c2d0e75b9c6440013e003d4013c82d083..7feb68a649344f7311b9a4c39976920cfa0fc97a 100755
--- a/gcl.py
+++ b/gcl.py
@@ -1116,7 +1116,9 @@ def main(argv=None):
return 0
if command == "settings":
ignore = GetCodeReviewSetting("UNKNOWN");
- print CODEREVIEW_SETTINGS
+ del CODEREVIEW_SETTINGS['__just_initialized']
Nicolas Sylvain 2009/06/12 02:43:32 really? del? can't you use like .erase, or someth
+ print '\n'.join(("%s: %s" % (str(k), str(v))
+ for (k,v) in CODEREVIEW_SETTINGS.iteritems()))
return 0
if len(argv) == 2:
« 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