This commit is contained in:
spez
2009-02-05 12:10:06 -08:00
parent 9a89f8b895
commit f87a4ec2ba

View File

@@ -7,7 +7,7 @@ def make_last_modified():
return last_modified
def last_modified_key(thing, action):
return 'last_' + action + '_' + thing._fullname
return 'last_%s_%s' % (str(action), thing._fullname)
def is_modified_since(thing, action, date):
"""Returns true if the date is older than the last_[action] date,