__init__.py
branchstable
changeset 9912 a84922befb89
parent 9299 c5eed908117d
child 9984 793377697c81
--- a/__init__.py	Fri Jul 18 16:11:41 2014 +0200
+++ b/__init__.py	Tue Jul 22 17:22:23 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