Mercurial > libervia-backend
comparison libervia/cli/cmd_adhoc.py @ 4270:0d7bb4df2343
Reformatted code base using black.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 19 Jun 2024 18:44:57 +0200 |
parents | 319a0e47dc8b |
children |
comparison
equal
deleted
inserted
replaced
4269:64a85ce8be70 | 4270:0d7bb4df2343 |
---|---|
95 else: | 95 else: |
96 self.disp(_("Bus name found: [%s]" % bus_name), 1) | 96 self.disp(_("Bus name found: [%s]" % bus_name), 1) |
97 for method in methods: | 97 for method in methods: |
98 path, iface, command = method | 98 path, iface, command = method |
99 self.disp( | 99 self.disp( |
100 _("Command found: (path:{path}, iface: {iface}) [{command}]") | 100 _( |
101 .format(path=path, iface=iface, command=command), | 101 "Command found: (path:{path}, iface: {iface}) [{command}]" |
102 ).format(path=path, iface=iface, command=command), | |
102 1, | 103 1, |
103 ) | 104 ) |
104 self.host.quit() | 105 self.host.quit() |
105 | 106 |
106 | 107 |