Fixed some formatting to make untittests pass again.

This commit is contained in:
Griatch 2015-03-08 11:20:05 +01:00
parent b2505fe14c
commit 19867ddfcd
2 changed files with 2 additions and 2 deletions

View file

@ -229,7 +229,7 @@ class CmdSetHandler(object):
permstring = "non-perm"
if self.current.permanent:
permstring = "perm"
tmpstring = _(" <{key} ({mergetype} prio {prio}, {permstring}>: {keylist}")
tmpstring = _(" <{key} ({mergetype}, prio {prio}, {permstring})>:\n {keylist}")
string += tmpstring.format(key=self.current.key, mergetype=mergetype,
prio=self.current.priority,
permstring=permstring,

View file

@ -328,7 +328,7 @@ class ServerSessionHandler(SessionHandler):
operation=SSYNC,
data=sessdata)
def disconnect_all_sessions(self, reason=_("You have been disconnected.")):
def disconnect_all_sessions(self, reason="You have been disconnected."):
"""
Cleanly disconnect all of the connected sessions.
"""