From 492a0c51d1f179f77e7e983ab4a017a4e9482951 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sat, 29 Sep 2012 09:55:57 -0500 Subject: [PATCH] fixed copy.copy(storage), thanks Corne --- VERSION | 2 +- gluon/storage.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 9c5d45a1..822b46bc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.9 (2012-09-29 09:53:38) dev +Version 2.0.9 (2012-09-29 09:55:50) dev diff --git a/gluon/storage.py b/gluon/storage.py index 5a985ca4..081e7447 100644 --- a/gluon/storage.py +++ b/gluon/storage.py @@ -46,7 +46,8 @@ class Storage(dict): __repr__ = lambda self: '' % dict.__repr__(self) # http://stackoverflow.com/questions/5247250/why-does-pickle-getstate-accept-as-a-return-value-the-very-instance-it-requi __getstate__ = lambda self: None - + __reduce_ex__ = None + def getlist(self,key): """ Return a Storage value as a list.