fix string formatting in manager
Change-Id: I0d5c351735bdb6249dd9ec3e0c8b7ebe709feea6
This commit is contained in:
parent
f414c154e0
commit
2aa5811c7f
@ -571,7 +571,7 @@ class Server(object):
|
|||||||
except InvalidPidFileException as e:
|
except InvalidPidFileException as e:
|
||||||
if kwargs.get('verbose'):
|
if kwargs.get('verbose'):
|
||||||
print(_('Removing pid file %(pid_file)s with wrong pid '
|
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)
|
remove_file(pid_file)
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
if e.errno == errno.ESRCH:
|
if e.errno == errno.ESRCH:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user