Merge "Fix line parsing in requirements check"
This commit is contained in:
commit
ba5ef099f8
@ -43,6 +43,7 @@ class RequirementsList(object):
|
||||
if not os.path.exists(fn):
|
||||
return
|
||||
for line in open(fn):
|
||||
if '#' in line:
|
||||
line = line[:line.find('#')]
|
||||
line = line.strip()
|
||||
if (not line or
|
||||
|
Loading…
Reference in New Issue
Block a user