Mercurial > libervia-backend
comparison libervia/cli/cmd_adhoc.py @ 4167:319a0e47dc8b
plugin ad-hoc D-Bus: fix deprecated use of python-dbus:
the plugin was using python-dbus which is deprecated in the backend in the favor of
TxDBus. Methods calls have been updated, and the plugin works again, but there seems to be
still some issues (warnings in the logs). Those will be fixed later.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 01 Dec 2023 15:22:55 +0100 |
parents | 47401850dec6 |
children | 0d7bb4df2343 |
comparison
equal
deleted
inserted
replaced
4166:a1f7040b5a15 | 4167:319a0e47dc8b |
---|---|
115 def add_parser_options(self): | 115 def add_parser_options(self): |
116 self.parser.add_argument( | 116 self.parser.add_argument( |
117 "-j", | 117 "-j", |
118 "--jid", | 118 "--jid", |
119 default="", | 119 default="", |
120 help=_("jid of the service (default: profile's server"), | 120 help=_("jid of the service (default: profile's server)"), |
121 ) | 121 ) |
122 self.parser.add_argument( | 122 self.parser.add_argument( |
123 "-S", | 123 "-S", |
124 "--submit", | 124 "--submit", |
125 action="append_const", | 125 action="append_const", |