summaryrefslogtreecommitdiff
path: root/pkg_resources/__init__.py
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2015-01-02 15:31:47 -0600
committerIan Cordasco <graffatcolmingov@gmail.com>2015-01-02 15:31:47 -0600
commitfb1b7680cee8b4e751b29f6d46a6fcedb51e4e31 (patch)
tree1fd57b17f37a0cd87832cfb7027368917d16aa52 /pkg_resources/__init__.py
parent0c8f0cb4bfe39fd7840c0242dd059269c0266445 (diff)
downloadpython-setuptools-git-fb1b7680cee8b4e751b29f6d46a6fcedb51e4e31.tar.gz
Fix regression in entry-point name parsing
See #323 for more details.
Diffstat (limited to 'pkg_resources/__init__.py')
-rw-r--r--pkg_resources/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py
index a0b354ff..ac3807d8 100644
--- a/pkg_resources/__init__.py
+++ b/pkg_resources/__init__.py
@@ -2280,7 +2280,7 @@ class EntryPoint(object):
pattern = re.compile(
r'\s*'
- r'(?P<name>[\w. -]+?)\s*'
+ r'(?P<name>[+\w. -]+?)\s*'
r'=\s*'
r'(?P<module>[\w.]+)\s*'
r'(:\s*(?P<attr>[\w.]+))?\s*'