no more import stat in cfs.py, thanks Vladyslav

This commit is contained in:
mdipierro
2012-07-11 22:12:14 -05:00
parent 3a3aa1344b
commit a65aebc7c8
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-07-11 22:11:17) dev
Version 2.00.0 (2012-07-11 22:12:11) dev
+1 -2
View File
@@ -13,7 +13,6 @@ FOR INTERNAL USE ONLY
"""
import os
import stat
import thread
from fileutils import read_file
@@ -34,7 +33,7 @@ def getcfs(key, filename, filter=None):
This is used on Google App Engine since pyc files cannot be saved.
"""
t = os.stat(filename)[stat.ST_MTIME]
t = os.stat(filename).st_mtime
cfs_lock.acquire()
item = cfs.get(key, None)
cfs_lock.release()