From de73859d9c5ba731ad1aa13e36588b798f088656 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Fri, 24 Jul 2015 15:32:31 +0200 Subject: [PATCH] Handle dictproxies. --- didex/store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.11.0