__init__.py
changeset 9984 793377697c81
parent 9402 2c48c091b6a2
parent 9912 a84922befb89
child 9990 c84ad981fc4a
child 10266 813e30041a93
--- a/__init__.py	Fri Sep 12 09:49:01 2014 +0200
+++ b/__init__.py	Wed Sep 24 18:04:30 2014 +0200
@@ -125,7 +125,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