mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +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:
|
||||
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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user