Commit 37935329 authored by Vincent Pelletier's avatar Vincent Pelletier

There is no need to call keys() on a dict to know its len.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@643 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent a18a5e01
......@@ -829,7 +829,7 @@ class Application(object):
self._waitMessage(handler=self.storage_handler)
except NEOStorageConnectionFailure:
continue
if len(self.local_var.node_tids.keys()) == len(storage_node_list):
if len(self.local_var.node_tids) == len(storage_node_list):
break
# Reorder tids
......
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