Merge "Stop giving -f and -e lines a pass in requirements"
This commit is contained in:
commit
47183deb2e
@ -99,9 +99,7 @@ class RequirementsList(object):
|
|||||||
line = line[:line.find('#')]
|
line = line[:line.find('#')]
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
if (not line or
|
if (not line or
|
||||||
line.startswith('http://tarballs.openstack.org/') or
|
line.startswith('http://tarballs.openstack.org/')):
|
||||||
line.startswith('-e') or
|
|
||||||
line.startswith('-f')):
|
|
||||||
continue
|
continue
|
||||||
req = pkg_resources.Requirement.parse(line)
|
req = pkg_resources.Requirement.parse(line)
|
||||||
if (not ignore_dups and strict and req.project_name.lower()
|
if (not ignore_dups and strict and req.project_name.lower()
|
||||||
|
Loading…
Reference in New Issue
Block a user