author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Fri, 02 Oct 2009 14:15:23 +0200 | |
branch | stable |
changeset 3551 | 5a73db781dac |
parent 3550 | f9bdcfeb12ee |
child 3552 | 8facb3324170 |
--- 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)