Просмотр исходного кода

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>
Shawn O. Pearce 16 лет назад
Родитель
Сommit
7b4f43542a
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      git_config.py

+ 1 - 0
git_config.py

@@ -414,6 +414,7 @@ def _preconnect(url):
     host = m.group(1)
     host = m.group(1)
     return _open_ssh(host, 22)
     return _open_ssh(host, 22)
 
 
+  return False
 
 
 class Remote(object):
 class Remote(object):
   """Configuration options related to a remote.
   """Configuration options related to a remote.