From 2cbb151b3cc99cc3b003239feb635d766d7b7b26 Mon Sep 17 00:00:00 2001 From: Alessio Ababilov Date: Thu, 8 Aug 2013 12:33:50 +0300 Subject: [PATCH] Handle strict version conflicts correctly Handle version conflicts like 'x>1' and 'x<=1'. Change-Id: I5cfab2d8b3428ad6c772931011f0cefd3eb74ab7 Fixes: bug #1208335 --- tools/multipip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/multipip b/tools/multipip index 0a18acad..e1b8a680 100755 --- a/tools/multipip +++ b/tools/multipip @@ -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] == "=":