diff options
author | Shawn O. Pearce <sop@google.com> | 2009-06-12 09:06:35 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-06-12 09:08:34 -0700 |
commit | 7b4f43542a5dec931f73076d891f8509a69f98e8 (patch) | |
tree | 4eb3da5243a341a3c77969f081bbf87cb8bec99d | |
parent | 9fb29ce123ad26bf1497144a40e337aff8c51ecb (diff) | |
download | git-repo-7b4f43542a5dec931f73076d891f8509a69f98e8.tar.gz |
Add missing return False to preconnect
Noticed by users on repo-discuss, we were missing a return False
here to signal that SSH control master was not used to setup the
network connection.
Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r-- | git_config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git_config.py b/git_config.py index 29d89797..a2a739a4 100644 --- a/git_config.py +++ b/git_config.py | |||
@@ -414,6 +414,7 @@ def _preconnect(url): | |||
414 | host = m.group(1) | 414 | host = m.group(1) |
415 | return _open_ssh(host, 22) | 415 | return _open_ssh(host, 22) |
416 | 416 | ||
417 | return False | ||
417 | 418 | ||
418 | class Remote(object): | 419 | class Remote(object): |
419 | """Configuration options related to a remote. | 420 | """Configuration options related to a remote. |