Cacheability Improvements
[planet-ucc.git] / CacheHandler.py
index 7106279..42070a3 100644 (file)
@@ -36,5 +36,5 @@ class CacheObject:
        def __init__(self):
                self.etag       = None
                self.date       = None
-       def __eq__(self, other):
-               return self.etag == other.etag and self.date == other.date
+       def __ne__(self, other):
+               return self.etag != other.etag or self.date != other.date

UCC git Repository :: git.ucc.asn.au