diff options
Diffstat (limited to 'stacd.py')
-rwxr-xr-x | stacd.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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() |