Fix extra/missing spaces in quell output (#2991)
This commit is contained in:
parent
393ab797fe
commit
222c7e1ec9
1 changed files with 2 additions and 2 deletions
|
|
@ -987,7 +987,7 @@ class CmdQuell(COMMAND_DEFAULT_CLASS):
|
||||||
"""Perform the command"""
|
"""Perform the command"""
|
||||||
account = self.account
|
account = self.account
|
||||||
permstr = (
|
permstr = (
|
||||||
account.is_superuser and " (superuser)" or "(%s)" % ", ".join(account.permissions.all())
|
account.is_superuser and "(superuser)" or "(%s)" % ", ".join(account.permissions.all())
|
||||||
)
|
)
|
||||||
if self.cmdstring in ("unquell", "unquell"):
|
if self.cmdstring in ("unquell", "unquell"):
|
||||||
if not account.attributes.get("_quell"):
|
if not account.attributes.get("_quell"):
|
||||||
|
|
@ -1011,7 +1011,7 @@ class CmdQuell(COMMAND_DEFAULT_CLASS):
|
||||||
cpermstr += "\nUse unquell to return to normal permission usage."
|
cpermstr += "\nUse unquell to return to normal permission usage."
|
||||||
self.msg(cpermstr)
|
self.msg(cpermstr)
|
||||||
else:
|
else:
|
||||||
self.msg(f"Quelling Account permissions{permstr}. Use unquell to get them back.")
|
self.msg(f"Quelling Account permissions {permstr}. Use unquell to get them back.")
|
||||||
self._recache_locks(account)
|
self._recache_locks(account)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue