fixed issue 907

This commit is contained in:
mdipierro
2012-07-25 21:12:34 -05:00
parent 8b66bf15f0
commit cf89cbbff4
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -33,7 +33,10 @@ def getcfs(key, filename, filter=None):
This is used on Google App Engine since pyc files cannot be saved.
"""
t = os.stat(filename).st_mtime
try:
t = os.stat(filename).st_mtime
except OSError:
return filter()
cfs_lock.acquire()
item = cfs.get(key, None)
cfs_lock.release()