Commit 666b74c3 authored by Vincent Pelletier's avatar Vincent Pelletier

Remove assert for a case covered by a regular exception.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2276 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 4cad5560
...@@ -872,8 +872,6 @@ class Application(object): ...@@ -872,8 +872,6 @@ class Application(object):
# First get transaction information from a storage node. # First get transaction information from a storage node.
cell_list = self._getCellListForTID(undone_tid, readable=True) cell_list = self._getCellListForTID(undone_tid, readable=True)
assert len(cell_list), 'No cell found for transaction %s' % (
dump(undone_tid), )
shuffle(cell_list) shuffle(cell_list)
cell_list.sort(key=self.cp.getCellSortKey) cell_list.sort(key=self.cp.getCellSortKey)
packet = Packets.AskTransactionInformation(undone_tid) packet = Packets.AskTransactionInformation(undone_tid)
......
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