summaryrefslogtreecommitdiffstats
path: root/git_command.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_command.py')
-rw-r--r--git_command.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/git_command.py b/git_command.py
index 5034ae12..df39ec09 100644
--- a/git_command.py
+++ b/git_command.py
@@ -57,16 +57,16 @@ def ssh_sock(create=True):
57 if not os.path.exists(tmp_dir): 57 if not os.path.exists(tmp_dir):
58 tmp_dir = tempfile.gettempdir() 58 tmp_dir = tempfile.gettempdir()
59 _ssh_sock_path = os.path.join( 59 _ssh_sock_path = os.path.join(
60 tempfile.mkdtemp('', 'ssh-', tmp_dir), 60 tempfile.mkdtemp('', 'ssh-', tmp_dir),
61 'master-%r@%h:%p') 61 'master-%r@%h:%p')
62 return _ssh_sock_path 62 return _ssh_sock_path
63 63
64def _ssh_proxy(): 64def _ssh_proxy():
65 global _ssh_proxy_path 65 global _ssh_proxy_path
66 if _ssh_proxy_path is None: 66 if _ssh_proxy_path is None:
67 _ssh_proxy_path = os.path.join( 67 _ssh_proxy_path = os.path.join(
68 os.path.dirname(__file__), 68 os.path.dirname(__file__),
69 'git_ssh') 69 'git_ssh')
70 return _ssh_proxy_path 70 return _ssh_proxy_path
71 71
72def _add_ssh_client(p): 72def _add_ssh_client(p):