fixed Storage copy

This commit is contained in:
mdipierro
2012-09-30 13:20:05 -05:00
parent 396f4449d8
commit 417c94470f
3 changed files with 38 additions and 40 deletions
+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
__copy__ = lambda self: Storage(self)
def getlist(self,key):
"""