mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pythonlib/riotctrl_ctrl: reformat native.py with black
This commit is contained in:
parent
ba1173409f
commit
43550cd853
5
dist/pythonlibs/riotctrl_ctrl/native.py
vendored
5
dist/pythonlibs/riotctrl_ctrl/native.py
vendored
@ -17,9 +17,10 @@ class NativeRIOTCtrl(riotctrl.ctrl.RIOTCtrl):
|
||||
process, whenever a terminal is started. This allows for `reset()` to also
|
||||
work for a the `native` instance.
|
||||
"""
|
||||
|
||||
def _set_debug_adapter_id(self, child):
|
||||
if child.name().endswith('.elf'):
|
||||
self.env['DEBUG_ADAPTER_ID'] = str(child.pid)
|
||||
if child.name().endswith(".elf"):
|
||||
self.env["DEBUG_ADAPTER_ID"] = str(child.pid)
|
||||
return True
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user