Commit 6ebf13bb authored by Marco Mariani's avatar Marco Mariani

print -> logger

parent f7ecddc2
......@@ -1042,8 +1042,8 @@ def random_delay(conf):
# --maximal-delay=3600
if not conf.now:
duration = float(60 * 60) * random.random()
print("Sleeping for %s seconds. To disable this feature, " \
"use with --now parameter in manual." % duration)
conf.logger.info('Sleeping for %s seconds. To disable this feature, '
'use with --now parameter in manual.' % duration)
time.sleep(duration)
......
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