summaryrefslogtreecommitdiffstats
path: root/stacd.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xstacd.py6
1 files changed, 3 insertions, 3 deletions
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()