Handle strict version conflicts correctly
Handle version conflicts like 'x>1' and 'x<=1'. Change-Id: I5cfab2d8b3428ad6c772931011f0cefd3eb74ab7 Fixes: bug #1208335
This commit is contained in:
parent
11841b2e67
commit
2cbb151b3c
@ -287,7 +287,7 @@ def join_requirements(options):
|
|||||||
for parsed, trans, op, ver in joined_req.req.index:
|
for parsed, trans, op, ver in joined_req.req.index:
|
||||||
if op[0] == ">":
|
if op[0] == ">":
|
||||||
lower_version = parsed
|
lower_version = parsed
|
||||||
lower_strict = len(op) == 2
|
lower_strict = len(op) == 1
|
||||||
elif op[0] == "<":
|
elif op[0] == "<":
|
||||||
segment_ok = True
|
segment_ok = True
|
||||||
elif op[0] == "=":
|
elif op[0] == "=":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user