Fix another bad syntax when formatting string

parent dd790c49
...@@ -216,7 +216,7 @@ def dropPrivileges(uid, gid): ...@@ -216,7 +216,7 @@ def dropPrivileges(uid, gid):
pass pass
else: else:
raise ValueError('%s it was possible to go back to uid = %r and gid = ' raise ValueError('%s it was possible to go back to uid = %r and gid = '
'%r which is fatal.' % message_pre, current_uid, current_gid) '%r which is fatal.' % (message_pre, current_uid, current_gid))
logger.info('Succesfully dropped privileges to uid=%r gid=%r' % (uid, gid)) logger.info('Succesfully dropped privileges to uid=%r gid=%r' % (uid, gid))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment