From 3218c13205694434edb2375ab8a8515554eed366 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 --- git_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_command.py b/git_command.py index d56ad0a8..414c84a2 100644 --- a/git_command.py +++ b/git_command.py @@ -104,7 +104,7 @@ def __init__(self, ssh_proxy = False, cwd = None, gitdir = None): - env = dict(os.environ) + env = os.environ.copy() for e in [REPO_TRACE, GIT_DIR,