ItemSupport.py | raw changeset files shortlog |
1.1 --- a/ItemSupport.py Sun Mar 10 01:16:50 2013 +0100 1.2 +++ b/ItemSupport.py Fri Apr 19 15:16:48 2013 +0200 1.3 @@ -25,6 +25,12 @@ 1.4 self.writelock = lock.WriteLock(lock_dir) 1.5 self.readlock = lock.ReadLock(lock_dir) 1.6 1.7 + def mtime(self): 1.8 + 1.9 + "Return the last modified time of the item store directory." 1.10 + 1.11 + return os.path.getmtime(self.path) 1.12 + 1.13 def get_next(self): 1.14 1.15 "Return the next item number."