internal: fix log for python 2.6

{} was introduced to format strings in 2.7

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
This commit is contained in:
Josh Durgin 2013-10-29 12:31:30 -07:00
parent 5f01bcba4c
commit 7f136578ae

View File

@ -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