server/session.py
changeset 4850 bd640b137f50
parent 4845 dc351b96f596
child 4896 45a1c3f0d0d9
--- a/server/session.py	Tue Mar 09 12:03:26 2010 +0100
+++ b/server/session.py	Tue Mar 09 12:07:16 2010 +0100
@@ -611,15 +611,11 @@
         """return the source where the entity with id <eid> is located"""
         return self.repo.source_from_eid(eid, self)
 
-    def decorate_rset(self, rset):
-        rset.vreg = self.vreg
-        rset.req = self
-        return rset
-
     def execute(self, rql, kwargs=None, eid_key=None, build_descr=True):
         """db-api like method directly linked to the querier execute method"""
         rset = self._execute(self, rql, kwargs, eid_key, build_descr)
-        return self.decorate_rset(rset)
+        rset.req = self
+        return rset
 
     def _clear_thread_data(self):
         """remove everything from the thread local storage, except pool