Ignore:
Timestamp:
8 Aug 2011, 19:18:30 (13 years ago)
Author:
uli
Message:

Fix bug in hurry.file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/image/image.py

    r6536 r6584  
    4141    implements(IWAeUPImageFile)
    4242
     43    def __ne__(self, other):
     44        # This was wrongly implemented in the base class
     45        try:
     46            return (self.filename != other.filename or
     47                    self.data != other.data)
     48        except AttributeError:
     49            return True
     50
    4351def createWAeUPImageFile(filename, f):
    4452    retrieval = getUtility(IFileRetrieval)
Note: See TracChangeset for help on using the changeset viewer.