__init__.py
changeset 9990 c84ad981fc4a
parent 9891 3386fd89c914
parent 9984 793377697c81
child 10045 0a49d61c8cca
--- a/__init__.py	Tue Sep 23 17:34:36 2014 +0200
+++ b/__init__.py	Thu Sep 25 15:49:13 2014 +0200
@@ -123,7 +123,7 @@
     def __eq__(self, other):
         if not isinstance(other, Binary):
             return False
-        return self.getvalue(), other.getvalue()
+        return self.getvalue() == other.getvalue()
 
 
     # Binary helpers to store/fetch python objects