Commit 88fcf816 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove a wrong hack in iterator.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1984 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 3b89b198
......@@ -108,12 +108,6 @@ class Iterator(object):
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']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment