fixed copy.copy(storage), thanks Corne

This commit is contained in:
mdipierro
2012-09-29 09:55:57 -05:00
parent dd4a4c281f
commit 492a0c51d1
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.0.9 (2012-09-29 09:53:38) dev
Version 2.0.9 (2012-09-29 09:55:50) dev
+2 -1
View File
@@ -46,7 +46,8 @@ class Storage(dict):
__repr__ = lambda self: '<Storage %s>' % 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.