From 35663168f64c3346825bdadb307a8bccecb8a709 Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Fri, 21 Aug 2009 19:48:50 +0000 Subject: [PATCH] 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 --- trychange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trychange.py b/trychange.py index 88bbad439..013e293c8 100755 --- a/trychange.py +++ b/trychange.py @@ -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