]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/index.py
index: fix Entry comparison methods
[bup.git] / lib / bup / index.py
index 9873bc6889996aa18197284492de466993f9d13f..ae6201853f45b9f4e7dc7816d03cdc7fda8895ec 100644 (file)
@@ -300,7 +300,7 @@ class Entry:
     def __eq__(self, other):
         return self._cmp(other) == 0
 
-    def __ne__():
+    def __ne__(self, other):
         return self._cmp(other) != 0
 
     def __lt__(self, other):
@@ -309,10 +309,10 @@ class Entry:
     def __gt__(self, other):
         return self._cmp(other) > 0
 
-    def __le__():
+    def __le__(self, other):
         return self._cmp(other) <= 0
 
-    def __ge__():
+    def __ge__(self, other):
         return self._cmp(other) >= 0
 
     def write(self, f):