aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_resources.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2006-04-27 18:05:53 +0000
committerPJ Eby <distutils-sig@python.org>2006-04-27 18:05:53 +0000
commit4e8180190bf443b6389f064886321fcdeccf6ea4 (patch)
tree9a85fb01bc3d11fb4ea260b3baf30d0c2cdb152d /pkg_resources.py
parent847ce20a9390a14d3c415d9127db4bf9b86af3cb (diff)
downloadexternal_python_setuptools-4e8180190bf443b6389f064886321fcdeccf6ea4.tar.gz
external_python_setuptools-4e8180190bf443b6389f064886321fcdeccf6ea4.tar.bz2
external_python_setuptools-4e8180190bf443b6389f064886321fcdeccf6ea4.zip
Fix entry point parsing when a standalone module name has whitespace
between it and the extras. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4045765
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 62b6ab1a..2acd43bb 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -1873,7 +1873,7 @@ class EntryPoint(object):
src
)
else:
- return cls(name.strip(), value.lstrip(), attrs, extras, dist)
+ return cls(name.strip(), value.strip(), attrs, extras, dist)
parse = classmethod(parse)