From f296376f5c14c82457b6f3c47bc096ebd9167261 Mon Sep 17 00:00:00 2001 From: Hardirc Date: Fri, 6 Mar 2015 22:28:13 -0500 Subject: [PATCH] Improve PEP8 gluon/storage.py --- gluon/storage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gluon/storage.py b/gluon/storage.py index ca8f554b..6996d805 100644 --- a/gluon/storage.py +++ b/gluon/storage.py @@ -22,7 +22,8 @@ import gluon.portalocker as portalocker __all__ = ['List', 'Storage', 'Settings', 'Messages', 'StorageList', 'load_storage', 'save_storage'] -DEFAULT = lambda:0 +DEFAULT = lambda: 0 + class Storage(dict): """ @@ -199,6 +200,7 @@ class Messages(Settings): return self.T(value) return value + class FastStorage(dict): """ Eventually this should replace class Storage but causes memory leak