diff options
| author | Shawn O. Pearce <sop@google.com> | 2010-12-07 08:46:14 -0800 |
|---|---|---|
| committer | Shawn O. Pearce <sop@google.com> | 2011-01-09 17:39:22 -0800 |
| commit | 727ee98a401b5993f6b952074f43c7f770604acf (patch) | |
| tree | e13bf1101981e15ef1cdf3a5dcc38a608b70aedd | |
| parent | df14a70c4529821d7450303ec553a9f608af1656 (diff) | |
| download | git-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)
| -rw-r--r-- | git_command.py | 2 |
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, |
