rset.py
branchstable
changeset 3551 5a73db781dac
parent 3016 5787d1cc8106
child 3589 a5432f99f2d9
child 3625 f03b55a18c43
--- a/rset.py	Fri Oct 02 10:14:29 2009 +0200
+++ b/rset.py	Fri Oct 02 14:15:23 2009 +0200
@@ -117,6 +117,10 @@
                          self.description +rset.description)
         return self.req.decorate_rset(rset)
 
+    def copy(self):
+        rset = ResultSet(self.rows[:], self.rql, self.args, self.description[:])
+        return self.req.decorate_rset(rset)
+
     def _prepare_copy(self, rows, descr):
         rset = ResultSet(rows, self.rql, self.args, descr)
         return self.req.decorate_rset(rset)