Index: /main/waeup.sirp/trunk/src/waeup/sirp/image/README.txt
===================================================================
--- /main/waeup.sirp/trunk/src/waeup/sirp/image/README.txt	(revision 6583)
+++ /main/waeup.sirp/trunk/src/waeup/sirp/image/README.txt	(revision 6584)
@@ -194,2 +194,23 @@
   TooSmall: ('bar.jpg', '4 bytes (min: 5 bytes)')
 
+
+Broken Unequality Comparison
+----------------------------
+
+WAeUPImageFile does not reproduce the broken unequal comparison from
+its base:
+
+  >>> f1 = WAeUPImageFile('bar.jpg', '123456789')
+  >>> f2 = WAeUPImageFile('bar.jpg', '123456789')
+  >>> f3 = WAeUPImageFile('baz.jpg', '1234')
+  >>> f1 == f2
+  True
+
+  >>> f1 != f2
+  False
+
+  >>> f1 == f3
+  False
+
+  >>> f1 != f3
+  True
Index: /main/waeup.sirp/trunk/src/waeup/sirp/image/image.py
===================================================================
--- /main/waeup.sirp/trunk/src/waeup/sirp/image/image.py	(revision 6583)
+++ /main/waeup.sirp/trunk/src/waeup/sirp/image/image.py	(revision 6584)
@@ -41,4 +41,12 @@
     implements(IWAeUPImageFile)
 
+    def __ne__(self, other):
+        # This was wrongly implemented in the base class
+        try:
+            return (self.filename != other.filename or
+                    self.data != other.data)
+        except AttributeError:
+            return True
+
 def createWAeUPImageFile(filename, f):
     retrieval = getUtility(IFileRetrieval)
