summaryrefslogtreecommitdiff
path: root/pkg_resources.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-08-03 13:18:50 +0000
committerPJ Eby <distutils-sig@python.org>2005-08-03 13:18:50 +0000
commitc9c1087c11cf7c487b85b599071bedbbcdbbc6d1 (patch)
tree73d2b2246f16b6e73e774cd7afb0017f4be05967 /pkg_resources.py
parent1bb64d070e9be1b67322417c0a11e199bce6fe99 (diff)
downloadpython-setuptools-git-c9c1087c11cf7c487b85b599071bedbbcdbbc6d1.tar.gz
Fix a problem with zip paths reported by Ashley Walsh.
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041173
Diffstat (limited to 'pkg_resources.py')
-rw-r--r--pkg_resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources.py b/pkg_resources.py
index fc6a15e9..af47d367 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -1122,7 +1122,7 @@ class ZipProvider(EggProvider):
for path in self.zipinfo:
parts = path.split(os.sep)
while parts:
- parent = '/'.join(parts[:-1])
+ parent = os.sep.join(parts[:-1])
if parent in ind:
ind[parent].append(parts[-1])
break