summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
Diffstat (limited to 'apt')
-rw-r--r--apt/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt/package.py b/apt/package.py
index 73ca5da0..308bd223 100644
--- a/apt/package.py
+++ b/apt/package.py
@@ -206,7 +206,7 @@ class Version(object):
except TypeError:
return NotImplemented
- def __ge__(self):
+ def __ge__(self, other):
try:
return self._cmp(other) >= 0
except TypeError:
@@ -218,7 +218,7 @@ class Version(object):
except TypeError:
return NotImplemented
- def __le__(self):
+ def __le__(self, other):
try:
return self._cmp(other) <= 0
except TypeError: