server/session.py
changeset 2783 493f527aed1e
parent 2778 3f6dfc312760
parent 2781 4e1ad9d6a3e7
child 2786 971d7c545505
--- a/server/session.py	Tue Aug 11 17:28:18 2009 +0200
+++ b/server/session.py	Tue Aug 11 18:41:39 2009 +0200
@@ -114,8 +114,9 @@
         if rcache is not None:
             rset, entities = rcache
             rset.rows.append([targeteid])
-            if isinstance(rset.description, list): # else description not set
-                rset.description.append([self.describe(targeteid)[0]])
+            if not isinstance(rset.description, list): # else description not set
+                rset.description = list(rset.description)
+            rset.description.append([self.describe(targeteid)[0]])
             rset.rowcount += 1
             targetentity = self.entity_from_eid(targeteid)
             entities.append(targetentity)