[Neo-report] r1984 gregory - /trunk/neo/client/iterator.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 30 14:07:11 CEST 2010


Author: gregory
Date: Tue Mar 30 14:07:11 2010
New Revision: 1984

Log:
Remove a wrong hack in iterator.

Modified:
    trunk/neo/client/iterator.py

Modified: trunk/neo/client/iterator.py
==============================================================================
--- trunk/neo/client/iterator.py [iso-8859-1] (original)
+++ trunk/neo/client/iterator.py [iso-8859-1] Tue Mar 30 14:07:11 2010
@@ -108,12 +108,6 @@
             self._next += len(self.txn_list)
         txn = self.txn_list.pop()
         self._index += 1
-        if txn['oids'] == ['\0' * 8]:
-            # XXX: hack, skip initial transaction that store the root object
-            if not self.txn_list:
-                raise StopIteration
-            txn = self.txn_list.pop()
-            self._index += 1
         tid = txn['id']
         user = txn['user_name']
         desc = txn['description']





More information about the Neo-report mailing list