diff --git a/VERSION b/VERSION index 52c15cba..4fdc0805 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-07-11 22:11:17) dev +Version 2.00.0 (2012-07-11 22:12:11) dev diff --git a/gluon/cfs.py b/gluon/cfs.py index c0110234..8dd69cc2 100644 --- a/gluon/cfs.py +++ b/gluon/cfs.py @@ -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()