diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-07-04 22:14:25 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-07-04 22:14:25 -0400 |
commit | dc316c0f1dbb8355b3726cb2aedb7d955270cf34 (patch) | |
tree | d1383f853b2e5b427accb674cf49425a5414b83d /pkg_resources.py | |
parent | 6ac7256ce1b286f9870ea203308333666fa552bd (diff) | |
parent | 3d3aae58dbe4b67aaf39238e6508af83e95c7b5d (diff) | |
download | python-setuptools-git-0.8b7.tar.gz |
Merge with 0.7.80.8b7
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 bbc2f09a..36a0e6ed 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -1018,13 +1018,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 |