Commit a765aa9f authored by Aurel's avatar Aurel

update replicator only if it exists


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@703 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 525ebba8
......@@ -122,7 +122,7 @@ class HiddenEventHandler(EventHandler):
nm.add(node)
pt.setCell(offset, node, state)
if uuid == app.uuid:
if uuid == app.uuid and app.replicator is not None:
# If this is for myself, this can affect replications.
if state == DISCARDED_STATE:
app.replicator.removePartition(offset)
......
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