rset.py
changeset 3589 a5432f99f2d9
parent 3405 9d31c9cb8103
parent 3551 5a73db781dac
child 3629 559cad62c786
--- a/rset.py	Wed Sep 30 18:57:42 2009 +0200
+++ b/rset.py	Wed Oct 07 12:31:08 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)