From 2aa5811c7fdf86df302f5ce8b0413bf51e86e7ab Mon Sep 17 00:00:00 2001 From: Clay Gerrard Date: Tue, 13 Sep 2016 15:10:04 -0700 Subject: [PATCH] fix string formatting in manager Change-Id: I0d5c351735bdb6249dd9ec3e0c8b7ebe709feea6 --- swift/common/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swift/common/manager.py b/swift/common/manager.py index 8697b534d5..32afdee852 100644 --- a/swift/common/manager.py +++ b/swift/common/manager.py @@ -571,7 +571,7 @@ class Server(object): except InvalidPidFileException as e: if kwargs.get('verbose'): print(_('Removing pid file %(pid_file)s with wrong pid ' - '%(pid)d'), {'pid_file': pid_file, 'pid': pid}) + '%(pid)d') % {'pid_file': pid_file, 'pid': pid}) remove_file(pid_file) except OSError as e: if e.errno == errno.ESRCH: