Fixed some formatting to make untittests pass again.
This commit is contained in:
parent
b2505fe14c
commit
19867ddfcd
2 changed files with 2 additions and 2 deletions
|
|
@ -229,7 +229,7 @@ class CmdSetHandler(object):
|
||||||
permstring = "non-perm"
|
permstring = "non-perm"
|
||||||
if self.current.permanent:
|
if self.current.permanent:
|
||||||
permstring = "perm"
|
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,
|
string += tmpstring.format(key=self.current.key, mergetype=mergetype,
|
||||||
prio=self.current.priority,
|
prio=self.current.priority,
|
||||||
permstring=permstring,
|
permstring=permstring,
|
||||||
|
|
|
||||||
|
|
@ -328,7 +328,7 @@ class ServerSessionHandler(SessionHandler):
|
||||||
operation=SSYNC,
|
operation=SSYNC,
|
||||||
data=sessdata)
|
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.
|
Cleanly disconnect all of the connected sessions.
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue