From: Fredrik Tolf Date: Fri, 24 Jul 2015 13:32:31 +0000 (+0200) Subject: Handle dictproxies. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=de73859d9c5ba731ad1aa13e36588b798f088656;p=didex.git Handle dictproxies. --- diff --git a/didex/store.py b/didex/store.py index 55dc71e..cc97a5b 100644 --- a/didex/store.py +++ b/didex/store.py @@ -42,7 +42,7 @@ def storedescs(obj): for nm, val in st.__dict__.items(): if isinstance(val, storedesc): ret.append((nm, val)) - t.__dict__["__didex_attr"] = ret + t.__didex_attr = ret return ret class datastore(object):