Missed reference to module

This commit is contained in:
Roland Hedberg
2010-10-13 13:58:09 +02:00
parent 724c8f59a3
commit d0b1b4a808

View File

@@ -75,7 +75,7 @@ class Cache(object):
except ValueError: except ValueError:
raise ToOld() raise ToOld()
if info and not_on_or_after(timestamp): if info and time_util.not_on_or_after(timestamp):
return info return info
else: else:
raise ToOld() raise ToOld()
@@ -159,7 +159,7 @@ class Cache(object):
return False return False
try: try:
return not_on_or_after(timestamp) return time_util.not_on_or_after(timestamp)
except ToOld: except ToOld:
return False return False