diff --git a/VERSION b/VERSION index a5d94812..c6610881 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-07-25 21:04:51) dev +Version 2.00.0 (2012-07-25 21:12:30) dev diff --git a/gluon/cfs.py b/gluon/cfs.py index 8dd69cc2..a99f9c06 100644 --- a/gluon/cfs.py +++ b/gluon/cfs.py @@ -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()