log only when verbose

This commit is contained in:
2016-05-02 10:27:46 -04:00
parent 387972f7fc
commit 54b7faa3e7
+2 -2
View File
@@ -472,11 +472,11 @@ if not msgonly:
conns = {} conns = {}
while True: while True:
log(" create connections") if verbose: log("create connections")
createConnections(hb_hosts) createConnections(hb_hosts)
if len(conns) != 0: if len(conns) != 0:
break break
log(" no connections yet, sleep a bit") if verbose: log("no connections yet, sleep a bit")
time.sleep(2) time.sleep(2)
if verbose: if verbose: