Don't fail on dupes in version specific files
The rot won't be unwound for another 6-12 months, and we're not backporting all the infrastructure to do markers to older releases. So we need to warn only, rather than erroring, when encountering this situation. Change-Id: Ib63996b016f7f99f69ad1255c333cc2d1846cbdb
This commit is contained in:
parent
487596339c
commit
0d4fc25212
@ -68,8 +68,8 @@ class RequirementsList(object):
|
||||
if not name:
|
||||
# Comments and other unprocessed lines
|
||||
continue
|
||||
if strict and name in reqs:
|
||||
print("Requirement %s present in multiple files" % name)
|
||||
if strict and name in reqs and not '-py' in fname:
|
||||
self.failed = True
|
||||
reqs[name].update(r for (r, line) in entries)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user