From 6e893ad219b6215d5a5a27fc18c6f1e83aa7a3bb Mon Sep 17 00:00:00 2001 From: Yuri Weinstein Date: Mon, 19 May 2014 16:03:30 -0700 Subject: [PATCH] Fixed formatting and added a better variable for time out Signed-off-by: Yuri Weinstein --- teuthology/task/samba.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/teuthology/task/samba.py b/teuthology/task/samba.py index 11c072da19..3814ca7f05 100644 --- a/teuthology/task/samba.py +++ b/teuthology/task/samba.py @@ -175,9 +175,11 @@ def task(ctx, config): # let smbd initialize, probably a better way... import time - log.info('Sleeping 90 seconds...') - time.sleep(100) - log.info('Sleeping stopped...') + seconds_to_sleep = 100 + log.info("Sleeping for %s seconds..." % seconds_to_sleep) + time.sleep(seconds_to_sleep) + log.info('Sleeping stopped…’) + try: yield finally: -- 2.39.5