Commit 5d0d4c81 authored by Vincent Pelletier's avatar Vincent Pelletier

No code set local_var.history to -1, so remove this test.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2252 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 502a01de
...@@ -1013,9 +1013,6 @@ class Application(object): ...@@ -1013,9 +1013,6 @@ class Application(object):
except ConnectionClosed: except ConnectionClosed:
continue continue
if self.local_var.history == -1:
# Not found, go on with next node
continue
if self.local_var.history[0] != oid: if self.local_var.history[0] != oid:
# Got history for wrong oid # Got history for wrong oid
raise NEOStorageError('inconsistency in storage: asked oid ' \ raise NEOStorageError('inconsistency in storage: asked oid ' \
......
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