Commit e55483f3 authored by Jason R. Coombs's avatar Jason R. Coombs

Extract variable for clarity.

parent 95a68afd
......@@ -2876,9 +2876,8 @@ def parse_requirements(strs):
line = next(lines)
p = 0
except StopIteration:
raise RequirementParseError(
"\\ must not appear on the last nonblank line"
)
msg = "\\ must not appear on the last nonblank line"
raise RequirementParseError(msg)
match = ITEM(line, p)
if not match:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment