Commit e4a99006 authored by maruel@chromium.org's avatar maruel@chromium.org

Fix trychange.py --dry_run to do what the doc says.

TEST=none
BUG=none

Review URL: http://codereview.chromium.org/3797002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@62541 0039d316-1c4b-4281-b951-d872f2087c98
parent 04dd7deb
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment