Commit 14a5bca2 authored by Vincent Pelletier's avatar Vincent Pelletier

"time" is not imported. Only "sleep" is.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@758 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent fcecacd2
......@@ -417,7 +417,7 @@ class Application(object):
conn.unlock()
self._waitMessage(conn, msg_id, handler=self.primary_bootstrap_handler)
if conn.getUUID() is None:
time.sleep(5)
sleep(5)
if self.uuid != INVALID_UUID:
# TODO: pipeline those 2 requests
# This is currently impossible because _waitMessage can only
......
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