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

Unified Diff: trychange.py

Issue 3797002: Fix trychange.py --dry_run to do what the doc says. (Closed)
Patch Set: Created 10 years, 2 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: trychange.py
diff --git a/trychange.py b/trychange.py
index 54161b97073e2eaf71c6bed1c229ae0499244455..bdfc02e72782630095a80835963409388d6bb0dd 100755
--- a/trychange.py
+++ b/trychange.py
@@ -328,9 +328,10 @@ def _SendChangeHTTP(options):
logging.info('Sending by HTTP')
logging.info(description)
logging.info(url)
- logging.info(options.diff)
if options.dry_run:
+ print options.diff
return
+ logging.info(options.diff)
try:
connection = urllib.urlopen(url, urllib.urlencode(values), proxies=proxies)
« 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