projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d84cdd
)
zetuptoolz: print out more context in case of parse_requirements error
author
Zooko
<zookog@gmail.com>
Tue, 24 Feb 2015 18:11:30 +0000
(18:11 +0000)
committer
Zooko
<zookog@gmail.com>
Tue, 24 Feb 2015 18:11:30 +0000
(18:11 +0000)
setuptools-0.6c16dev5.egg/pkg_resources.py
patch
|
blob
|
history
diff --git
a/setuptools-0.6c16dev5.egg/pkg_resources.py
b/setuptools-0.6c16dev5.egg/pkg_resources.py
index 36ec57adac23402cbd995693ff65dfeea283dbfd..a94d89f8472d07ad24a25c2c39238e88fd5942f4 100644
(file)
--- a/
setuptools-0.6c16dev5.egg/pkg_resources.py
+++ b/
setuptools-0.6c16dev5.egg/pkg_resources.py
@@
-2460,7
+2460,7
@@
def parse_requirements(strs):
for line in lines:
match = DISTRO(line)
if not match:
- raise ValueError("Missing distribution spec", line)
+ raise ValueError("Missing distribution spec", line
, strs
)
project_name = match.group(1)
p = match.end()
extras = []