mirror of
https://github.com/ceph/ceph
synced 2025-01-01 00:22:25 +00:00
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:
parent
5f01bcba4c
commit
7f136578ae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user