Merge pull request #883 from BuhtigithuB/pep8-storage-py

Improve PEP8 gluon/storage.py
This commit is contained in:
mdipierro committed 2015-03-30 01:26:06 -05:00
commit f9c755bc18
1 file changed
+2
+2
View File
@@ -24,6 +24,7 @@ __all__ = ['List', 'Storage', 'Settings', 'Messages',
DEFAULT = lambda: 0 DEFAULT = lambda: 0
class Storage(dict): class Storage(dict):
""" """
A Storage object is like a dictionary except `obj.foo` can be used A Storage object is like a dictionary except `obj.foo` can be used
@@ -199,6 +200,7 @@ class Messages(Settings):
return self.T(value) return self.T(value)
return value return value
class FastStorage(dict): class FastStorage(dict):
""" """
Eventually this should replace class Storage but causes memory leak Eventually this should replace class Storage but causes memory leak