Commit 7013135c authored by Grégory Wisniewski's avatar Grégory Wisniewski

Iterate over storage nodes only.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2181 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 1f629dfc
......@@ -303,9 +303,8 @@ class Application(object):
oid = self.tm.getLastOID()
logging.debug('Broadcast last OID to storages : %s' % dump(oid))
packet = Packets.NotifyLastOID(oid)
for node in self.nm.getIdentifiedList():
if node.isStorage():
node.notify(packet)
for node in self.nm.getStorageList(only_identified=True):
node.notify(packet)
def provideService(self):
"""
......
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