git.ucc.asn.au
/
planet-ucc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cacheability improvements
[planet-ucc.git]
/
CacheHandler.py
diff --git
a/CacheHandler.py
b/CacheHandler.py
index
3463d71
..
7106279
100644
(file)
--- a/
CacheHandler.py
+++ b/
CacheHandler.py
@@
-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