req.py
branchstable
changeset 7407 a78cc15227ef
parent 7121 c2badb6de3fe
child 7543 570522300e22
--- a/req.py	Thu May 19 17:53:46 2011 +0200
+++ b/req.py	Thu May 19 18:49:57 2011 +0200
@@ -88,7 +88,7 @@
         rset = ResultSet([('A',)]*size, '%s X' % etype,
                          description=[(etype,)]*size)
         def get_entity(row, col=0, etype=etype, req=self, rset=rset):
-            return req.vreg.etype_class(etype)(req, rset, row, col)
+            return req.vreg['etypes'].etype_class(etype)(req, rset, row, col)
         rset.get_entity = get_entity
         rset.req = self
         return rset