summaryrefslogtreecommitdiffstats
path: root/git_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_config.py')
-rw-r--r--git_config.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/git_config.py b/git_config.py
index 45a2d257..a7c82107 100644
--- a/git_config.py
+++ b/git_config.py
@@ -23,7 +23,7 @@ from signal import SIGTERM
23from urllib2 import urlopen, HTTPError 23from urllib2 import urlopen, HTTPError
24from error import GitError, UploadError 24from error import GitError, UploadError
25from trace import Trace 25from trace import Trace
26from git_command import GitCommand, _ssh_sock 26from git_command import GitCommand, ssh_sock
27 27
28R_HEADS = 'refs/heads/' 28R_HEADS = 'refs/heads/'
29R_TAGS = 'refs/tags/' 29R_TAGS = 'refs/tags/'
@@ -371,7 +371,7 @@ def _open_ssh(host, port):
371 return False 371 return False
372 372
373 command = ['ssh', 373 command = ['ssh',
374 '-o','ControlPath %s' % _ssh_sock(), 374 '-o','ControlPath %s' % ssh_sock(),
375 '-p',str(port), 375 '-p',str(port),
376 '-M', 376 '-M',
377 '-N', 377 '-N',
@@ -399,7 +399,7 @@ def close_ssh():
399 pass 399 pass
400 _ssh_cache.clear() 400 _ssh_cache.clear()
401 401
402 d = _ssh_sock(create=False) 402 d = ssh_sock(create=False)
403 if d: 403 if d:
404 try: 404 try:
405 os.rmdir(os.path.dirname(d)) 405 os.rmdir(os.path.dirname(d))