Commit 35663168 authored by mark@chromium.org's avatar mark@chromium.org

Fix trychange.py --host and --port to work as expected

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@23999 0039d316-1c4b-4281-b951-d872f2087c98
parent 2a891dc8
......@@ -485,7 +485,7 @@ def TryChange(argv,
# Switch the default accordingly if there was no default send_patch.
if not options.send_patch:
if options.http_port and options.http_host:
if options.port and options.host:
options.send_patch = _SendChangeHTTP
elif options.svn_repo:
options.send_patch = _SendChangeSVN
......
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