Reformatted code base using black.

This commit is contained in:
Goffi 2024-06-19 18:44:57 +02:00
commit 53fdaa9d09

View file

@ -41,18 +41,13 @@ class Get(base.CommandBase):
self.parser.add_argument(
"--no-cache", action="store_true", help=_("do no use cached values")
)
self.parser.add_argument(
"jid", help=_("entity to check")
)
self.parser.add_argument("jid", help=_("entity to check"))
async def start(self):
jid_ = (await self.host.check_jids([self.args.jid]))[0]
try:
data = await self.host.bridge.identity_get(
jid_,
[],
not self.args.no_cache,
self.profile
jid_, [], not self.args.no_cache, self.profile
)
except Exception as e:
self.disp(f"can't get identity data: {e}", error=True)