Soften the py3-only warning check
Change-Id: I4c770fab0366f70e7e01920498498a3b79bfc423 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
parent
02df513aa8
commit
bb128fca02
@ -207,7 +207,8 @@ def _validate_one(name, reqs, blacklist, global_reqs, allow_3_only=False):
|
|||||||
if count != len(global_reqs[name]):
|
if count != len(global_reqs[name]):
|
||||||
if (allow_3_only and
|
if (allow_3_only and
|
||||||
count >= len(_get_python3_reqs(global_reqs[name]))):
|
count >= len(_get_python3_reqs(global_reqs[name]))):
|
||||||
print("WARNING: Package '%s%s' is only tracking python 3 "
|
print("WARNING (probably OK for Ussuri and later): "
|
||||||
|
"Package '%s%s' is only tracking python 3 "
|
||||||
"requirements" % (
|
"requirements" % (
|
||||||
name,
|
name,
|
||||||
('[%s]' % extra) if extra else ''))
|
('[%s]' % extra) if extra else ''))
|
||||||
|
Loading…
Reference in New Issue
Block a user