entity.py
changeset 7876 df15d194a134
parent 7828 749e1a67987f
child 7907 08320697ca1a
--- a/entity.py	Tue Sep 27 18:46:36 2011 +0200
+++ b/entity.py	Tue Sep 27 18:47:11 2011 +0200
@@ -457,7 +457,7 @@
         """custom json dumps hook to dump the entity's eid
         which is not part of dict structure itself
         """
-        dumpable = dict(self)
+        dumpable = self.cw_attr_cache.copy()
         dumpable['eid'] = self.eid
         return dumpable