Merge "Fix line parsing in requirements check"

This commit is contained in:
Jenkins 2013-08-16 22:58:35 +00:00 committed by Gerrit Code Review
commit ba5ef099f8

View File

@ -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