cacheability improvements
[planet-ucc.git] / CacheHandler.py
index 3463d71..7106279 100644 (file)
@@ -36,3 +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

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