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
experimental/szager/collated-output
mark@chromium.org 16 years ago
parent 2a891dc893
commit 35663168f6

@ -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

Loading…
Cancel
Save