1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-02-07 05:30:44 +00:00

utils/ssh: Remove unused paramter from method

This commit is contained in:
Marc Bonnici 2018-07-12 17:25:31 +01:00 committed by setrofim
parent ae8db119a9
commit 473f37f1bc

View File

@ -104,7 +104,7 @@ class SchedProcFSNode(object):
return SchedProcFSNode(node_data) return SchedProcFSNode(node_data)
@staticmethod @staticmethod
def _build_entry(node_name, node_data): def _build_entry(node_data):
value = node_data value = node_data
# Most nodes just contain numerical data, try to convert # Most nodes just contain numerical data, try to convert
@ -120,7 +120,7 @@ class SchedProcFSNode(object):
if isinstance(node_data, dict): if isinstance(node_data, dict):
return SchedProcFSNode._build_directory(node_name, node_data) return SchedProcFSNode._build_directory(node_name, node_data)
else: else:
return SchedProcFSNode._build_entry(node_name, node_data) return SchedProcFSNode._build_entry(node_data)
def __getattr__(self, name): def __getattr__(self, name):
return self._dyn_attrs[name] return self._dyn_attrs[name]