From 8622cbe476ee19b12d6d4ea77250146d5cb8717f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 10 Dec 2023 11:25:04 +0100 Subject: Adding upstream version 2.3.1. Signed-off-by: Daniel Baumann --- stacd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stacd.py') diff --git a/stacd.py b/stacd.py index b13904a..60bcab2 100755 --- a/stacd.py +++ b/stacd.py @@ -69,7 +69,7 @@ if __name__ == '__main__': return STAC.tron @tron.setter - def tron(self, value): # pylint: disable=no-self-use + def tron(self, value): '''@brief Set Trace ON property''' STAC.tron = value @@ -89,14 +89,14 @@ if __name__ == '__main__': info.update(STAC.info()) return json.dumps(info) - def controller_info( # pylint: disable=too-many-arguments,no-self-use + def controller_info( # pylint: disable=too-many-arguments self, transport, traddr, trsvcid, subsysnqn, host_traddr, host_iface, host_nqn ) -> str: '''@brief D-Bus method used to return information about a controller''' controller = STAC.get_controller(transport, traddr, trsvcid, subsysnqn, host_traddr, host_iface, host_nqn) return json.dumps(controller.info()) if controller else '{}' - def list_controllers(self, detailed) -> list: # pylint: disable=no-self-use + def list_controllers(self, detailed) -> list: '''@brief Return the list of I/O controller IDs''' return [ controller.details() if detailed else controller.controller_id_dict() -- cgit v1.2.3