summaryrefslogtreecommitdiffstats
path: root/git_command.py
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2010-12-07 08:46:14 -0800
committerShawn O. Pearce <sop@google.com>2011-01-09 17:39:22 -0800
commit727ee98a401b5993f6b952074f43c7f770604acf (patch)
treee13bf1101981e15ef1cdf3a5dcc38a608b70aedd /git_command.py
parentdf14a70c4529821d7450303ec553a9f608af1656 (diff)
downloadgit-repo-727ee98a401b5993f6b952074f43c7f770604acf.tar.gz
Use os.environ.copy() instead of dict()
Signed-off-by: Shawn O. Pearce <sop@google.com> (cherry picked from commit 3218c13205694434edb2375ab8a8515554eed366)
Diffstat (limited to 'git_command.py')
-rw-r--r--git_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_command.py b/git_command.py
index 4aeacd57..513b9ebf 100644
--- a/git_command.py
+++ b/git_command.py
@@ -127,7 +127,7 @@ class GitCommand(object):
127 ssh_proxy = False, 127 ssh_proxy = False,
128 cwd = None, 128 cwd = None,
129 gitdir = None): 129 gitdir = None):
130 env = dict(os.environ) 130 env = os.environ.copy()
131 131
132 for e in [REPO_TRACE, 132 for e in [REPO_TRACE,
133 GIT_DIR, 133 GIT_DIR,