From 1c85f4e43ba2d337b1e8c49bb3c7814a5cb163ae Mon Sep 17 00:00:00 2001 From: Nico Sallembien Date: Tue, 27 Apr 2010 14:35:27 -0700 Subject: Rename _ssh_sock() to fix code style issue. Since _ssh_sock is imported out of the git_command module, the leading underscore should be removed from the function name. --- git_command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git_command.py') diff --git a/git_command.py b/git_command.py index d56ad0a8..3309f378 100644 --- a/git_command.py +++ b/git_command.py @@ -30,7 +30,7 @@ LAST_CWD = None _ssh_proxy_path = None _ssh_sock_path = None -def _ssh_sock(create=True): +def ssh_sock(create=True): global _ssh_sock_path if _ssh_sock_path is None: if not create: @@ -119,7 +119,7 @@ class GitCommand(object): if disable_editor: env['GIT_EDITOR'] = ':' if ssh_proxy: - env['REPO_SSH_SOCK'] = _ssh_sock() + env['REPO_SSH_SOCK'] = ssh_sock() env['GIT_SSH'] = _ssh_proxy() if project: -- cgit v1.2.3-54-g00ecf