diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-07-04 22:05:36 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-07-04 22:05:36 -0400 |
commit | c54ca820504e875d33eebd58813e6c4e5ae6e3ec (patch) | |
tree | 7cc4bc9073bcfc3acba23a4731e5d0092dde294a /pkg_resources.py | |
parent | 83c974c56ebc4689171913da1a6af3249b56ec6d (diff) | |
parent | d19a508528b019abbd41e88fa823677ae2f60560 (diff) | |
download | external_python_setuptools-c54ca820504e875d33eebd58813e6c4e5ae6e3ec.tar.gz external_python_setuptools-c54ca820504e875d33eebd58813e6c4e5ae6e3ec.tar.bz2 external_python_setuptools-c54ca820504e875d33eebd58813e6c4e5ae6e3ec.zip |
Merge with Distribute 0.6.49
--HG--
rename : distribute_setup.py => ez_setup.py
Diffstat (limited to 'pkg_resources.py')
-rw-r--r-- | pkg_resources.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg_resources.py b/pkg_resources.py index eb351103..bdd738f2 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -987,13 +987,14 @@ variable to point to an accessible directory. extract, as it tracks the generated names for possible cleanup later. """ extract_path = self.extraction_path or get_default_cache() - self._warn_unsafe_extraction_path(extract_path) target_path = os.path.join(extract_path, archive_name+'-tmp', *names) try: _bypass_ensure_directory(target_path) except: self.extraction_error() + self._warn_unsafe_extraction_path(extract_path) + self.cached_files[target_path] = 1 return target_path |