diff options
Diffstat (limited to 'git_config.py')
| -rw-r--r-- | git_config.py | 6 |
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 | |||
| 23 | from urllib2 import urlopen, HTTPError | 23 | from urllib2 import urlopen, HTTPError |
| 24 | from error import GitError, UploadError | 24 | from error import GitError, UploadError |
| 25 | from trace import Trace | 25 | from trace import Trace |
| 26 | from git_command import GitCommand, _ssh_sock | 26 | from git_command import GitCommand, ssh_sock |
| 27 | 27 | ||
| 28 | R_HEADS = 'refs/heads/' | 28 | R_HEADS = 'refs/heads/' |
| 29 | R_TAGS = 'refs/tags/' | 29 | R_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)) |
