req.py
changeset 9469 032825bbacab
parent 9459 d3016c08b4ae
child 9480 14159c600dad
--- a/req.py	Thu Jan 23 12:32:16 2014 +0100
+++ b/req.py	Thu Jan 23 13:47:28 2014 +0100
@@ -131,7 +131,7 @@
         """
         eid = int(eid)
         if etype is None:
-            etype = self.describe(eid)[0]
+            etype = self.entity_metas(eid)['type']
         rset = ResultSet([(eid,)], 'Any X WHERE X eid %(x)s', {'x': eid},
                          [(etype,)])
         rset.req = self