diff options
author | Donald Stufft <donald@stufft.io> | 2014-08-28 19:42:38 -0400 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2014-08-28 19:42:38 -0400 |
commit | cb26c0b8cb00d18c75503ce4ee59a95a619e8189 (patch) | |
tree | c67833df860421361a4f26c9931f400c788aa2ef | |
parent | bb8c7428ab40dde4af92e696ff518e82e214cd24 (diff) | |
parent | 56e427fbd8ce7b572582345ceabe43a2c7331b1a (diff) | |
download | pip-cb26c0b8cb00d18c75503ce4ee59a95a619e8189.tar.gz |
Merge pull request #1986 from matham/master
Replaces spaces in username.
-rw-r--r-- | pip/locations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pip/locations.py b/pip/locations.py index 1d4026516..4d5d872f3 100644 --- a/pip/locations.py +++ b/pip/locations.py @@ -62,7 +62,7 @@ def __get_username(): def _get_build_prefix(): """ Returns a safe build_prefix """ path = os.path.join(tempfile.gettempdir(), 'pip_build_%s' % - __get_username()) + __get_username().replace(' ', '_')) if sys.platform == 'win32': """ on windows(tested on 7) temp dirs are isolated """ return path |