summaryrefslogtreecommitdiff
path: root/import/pip_lorry.py
diff options
context:
space:
mode:
Diffstat (limited to 'import/pip_lorry.py')
-rwxr-xr-ximport/pip_lorry.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/import/pip_lorry.py b/import/pip_lorry.py
index 9358ce2..3083ee6 100755
--- a/import/pip_lorry.py
+++ b/import/pip_lorry.py
@@ -124,6 +124,8 @@ def specs_satisfied(version, specs):
'<=' : lambda x, y: x <= y, '>=' : lambda x, y: x >= y,
'<': lambda x, y: x < y, '>' : lambda x, y: x > y}
+ TODO: don't just key error if we don't recognise the op
+
return all([opmap[op](version, sv) for (op, sv) in specs])
def generate_tarball_lorry(requirement):