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:
Alessio Ababilov 2013-08-08 12:33:50 +03:00
parent 11841b2e67
commit 2cbb151b3c

View File

@ -287,7 +287,7 @@ def join_requirements(options):
for parsed, trans, op, ver in joined_req.req.index:
if op[0] == ">":
lower_version = parsed
lower_strict = len(op) == 2
lower_strict = len(op) == 1
elif op[0] == "<":
segment_ok = True
elif op[0] == "=":