mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 13:33:09 +00:00
zetuptoolz: print out more context in case of parse_requirements error
This commit is contained in:
parent
6d84cdd35d
commit
e9e63c5e72
@ -2460,7 +2460,7 @@ def parse_requirements(strs):
|
|||||||
for line in lines:
|
for line in lines:
|
||||||
match = DISTRO(line)
|
match = DISTRO(line)
|
||||||
if not match:
|
if not match:
|
||||||
raise ValueError("Missing distribution spec", line)
|
raise ValueError("Missing distribution spec", line, strs)
|
||||||
project_name = match.group(1)
|
project_name = match.group(1)
|
||||||
p = match.end()
|
p = match.end()
|
||||||
extras = []
|
extras = []
|
||||||
|
Loading…
Reference in New Issue
Block a user