pacntl: Smyle style fixes.

This commit is contained in:
Damir Jelić 2019-08-07 12:59:19 +02:00
parent 422856b78a
commit 20bfdce167

View File

@ -309,13 +309,16 @@ def get_color(string):
@attr.s @attr.s
class PanCtl: class PanCtl:
bus = attr.ib(init=False) bus = attr.ib(init=False)
pan_bus = attr.ib(init=False)
ctl = attr.ib(init=False) ctl = attr.ib(init=False)
devices = attr.ib(init=False) devices = attr.ib(init=False)
completer = attr.ib(init=False)
own_message_ids = attr.ib(init=False)
command_help = { command_help = {
"help": "Display help about commands.", "help": "Display help about commands.",
"list-servers": ( "list-servers": (
"List the configured homeservers and pan users on " "each homeserver." "List the configured homeservers and pan users on each homeserver."
), ),
"list-devices": ( "list-devices": (
"List the devices of a user that are known to the " "pan-user." "List the devices of a user that are known to the " "pan-user."
@ -341,10 +344,10 @@ class PanCtl:
), ),
"verify-device": ("Manually mark the given device as verified."), "verify-device": ("Manually mark the given device as verified."),
"unverify-device": ( "unverify-device": (
"Mark a previously verified device of the given " "user as unverified." "Mark a previously verified device of the given user as unverified."
), ),
"blacklist-device": ( "blacklist-device": (
"Manually mark the given device of the given " "user as blacklisted." "Manually mark the given device of the given user as blacklisted."
), ),
"unblacklist-device": ( "unblacklist-device": (
"Mark a previously blacklisted device of the " "Mark a previously blacklisted device of the "