From 7f136578ae93271aba83993a5fcc91f001595af9 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Tue, 29 Oct 2013 12:31:30 -0700 Subject: [PATCH] internal: fix log for python 2.6 {} was introduced to format strings in 2.7 Signed-off-by: Josh Durgin --- teuthology/task/internal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/internal.py b/teuthology/task/internal.py index fa9b22ac8eea7..61d8312509e4c 100644 --- a/teuthology/task/internal.py +++ b/teuthology/task/internal.py @@ -312,7 +312,7 @@ def sudo(ctx, config): try: yield finally: - log.info('Restoring {}...'.format(sudoers_file)) + log.info('Restoring {0}...'.format(sudoers_file)) ctx.cluster.run( args="sudo mv -f {path}{ext} {path}".format( path=sudoers_file, ext=backup_ext -- 2.39.5