rset.py
branchstable
changeset 5747 d6ac0cd30fde
parent 5740 46207f491a51
child 5752 b0bb553e3be4
--- a/rset.py	Mon Jun 14 18:59:05 2010 +0200
+++ b/rset.py	Mon Jun 14 17:56:10 2010 +0200
@@ -44,8 +44,6 @@
     :type rql: str or unicode
     :param rql: the original RQL query string
     """
-    _picklable_attributes = set(['limited', 'rows', 'description', '_rsetactions',
-                                 'args', 'rowcount', '_rqlst', 'rql'])
 
     def __init__(self, results, rql, args=None, description=(), rqlst=None):
         self.rows = results
@@ -120,10 +118,6 @@
         """Returns an iterator over rows"""
         return iter(self.rows)
 
-    def __getstate__(self):
-        return dict((k, v) for k, v in self.__dict__.iteritems()
-                    if k in self._picklable_attributes)
-
     def __add__(self, rset):
         # XXX buggy implementation (.rql and .args attributes at least much
         # probably differ)