comparison MoinMoin/logfile/__init__.py @ 3469:94a6f5fbf8b7

stats.hitcounts: fixes multiple call of Hits (MoinMoinBugs/ClickOnNavibarIncreasesHitsByMultiplicator)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 04 Apr 2008 23:48:41 +0200
parents a48929a5036c
children af3460a4cb79
comparison
equal deleted inserted replaced
3468:ab35449c4708 3469:94a6f5fbf8b7
202 if err.errno == errno.ENOENT: 202 if err.errno == errno.ENOENT:
203 return 0 203 return 0
204 raise 204 raise
205 205
206 def date(self): 206 def date(self):
207 # ToDo check if we need this method
207 """ Return timestamp of log file in usecs """ 208 """ Return timestamp of log file in usecs """
208 try: 209 try:
209 mtime = os.path.getmtime(self.__filename) 210 mtime = os.path.getmtime(self.__filename)
210 except OSError, err: 211 except OSError, err:
211 if err.errno == errno.ENOENT: 212 if err.errno == errno.ENOENT: