mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-07 05:38:06 -05:00
pacntl: Smyle style fixes.
This commit is contained in:
parent
422856b78a
commit
20bfdce167
@ -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 "
|
||||||
|
Loading…
Reference in New Issue
Block a user