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

Unified Diff: gcl.py

Issue 3171026: Disable the use of -s or --server with gcl upload. (Closed)
Patch Set: Created 10 years, 4 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 | tests/gcl_unittest.py » ('j') | 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 ea91fdaf5b1645eceab7152555b156e9e4cb0416..dfe02096d4e5d26766ed019d85ce05923b0a3023 100755
--- a/gcl.py
+++ b/gcl.py
@@ -722,6 +722,8 @@ def CMDupload(change_info, args):
This does not submit a try job; use gcl try to submit a try job.
"""
+ if '-s' in args or '--server' in args:
+ ErrorExit('Don\'t use the -s flag, fix codereview.settings instead')
if not change_info.GetFiles():
print "Nothing to upload, changelist is empty."
return 0
« no previous file with comments | « no previous file | tests/gcl_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698