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
7106279
..
42070a3
100644
(file)
--- a/
CacheHandler.py
+++ b/
CacheHandler.py
@@
-36,5
+36,5
@@
class CacheObject:
def __init__(self):
self.etag = None
self.date = None
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