diff options
Diffstat (limited to 'lava_dispatcher/actions/boot/pyocd.py')
-rw-r--r-- | lava_dispatcher/actions/boot/pyocd.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lava_dispatcher/actions/boot/pyocd.py b/lava_dispatcher/actions/boot/pyocd.py index de843afe8..c81d7c39f 100644 --- a/lava_dispatcher/actions/boot/pyocd.py +++ b/lava_dispatcher/actions/boot/pyocd.py @@ -37,7 +37,7 @@ class PyOCD(Boot): compatibility = 4 # FIXME: change this to 5 and update test cases def __init__(self, parent, parameters): - super(PyOCD, self).__init__(parent) + super().__init__(parent) self.action = BootPyOCD() self.action.section = self.action_type self.action.job = self.job @@ -89,12 +89,12 @@ class FlashPyOCDAction(Action): summary = "flash pyocd to boot the image" def __init__(self): - super(FlashPyOCDAction, self).__init__() + super().__init__() self.base_command = [] self.exec_list = [] def validate(self): - super(FlashPyOCDAction, self).validate() + super().validate() boot = self.job.device['actions']['boot']['methods']['pyocd'] pyocd_binary = boot['parameters']['command'] which(pyocd_binary) @@ -125,7 +125,7 @@ class FlashPyOCDAction(Action): self.errors = "No PyOCD command to execute" def run(self, connection, max_end_time, args=None): - connection = super(FlashPyOCDAction, self).run(connection, max_end_time, args) + connection = super().run(connection, max_end_time, args) for pyocd_command in self.exec_list: pyocd = ' '.join(pyocd_command) self.logger.info("PyOCD command: %s", pyocd) |