From 2f8ceb3bc5cf52c9bc72c25fd3a95eed99699ae1 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 11 Jul 2012 22:10:14 -0500 Subject: [PATCH] no more import stat in cfs.py, thanks Vladyslav --- VERSION | 2 +- gluon/cfs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 99fcee8e..00c95d36 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-07-11 22:08:08) dev +Version 2.00.0 (2012-07-11 22:10:11) dev diff --git a/gluon/cfs.py b/gluon/cfs.py index b7a22e29..00f4b067 100644 --- a/gluon/cfs.py +++ b/gluon/cfs.py @@ -44,7 +44,7 @@ def getcfs(key, filename, filter=None): if not filter: data = read_file(filename) else: - data = filter(item[1] if item else None) + data = filter(item[1]) if item else filter() cfs_lock.acquire() cfs[key] = (t, data) cfs_lock.release()