From 727ee98a401b5993f6b952074f43c7f770604acf Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Tue, 7 Dec 2010 08:46:14 -0800 Subject: [PATCH] Use os.environ.copy() instead of dict() Signed-off-by: Shawn O. Pearce (cherry picked from commit 3218c13205694434edb2375ab8a8515554eed366) --- git_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): ssh_proxy = False, cwd = None, gitdir = None): - env = dict(os.environ) + env = os.environ.copy() for e in [REPO_TRACE, GIT_DIR,