mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
dist/testrunner: fix flake8 issue E741
E741: ambiguous variable name
This commit is contained in:
parent
40ce74b54d
commit
84e2881d18
4
dist/pythonlibs/testrunner/spawn.py
vendored
4
dist/pythonlibs/testrunner/spawn.py
vendored
@ -56,8 +56,8 @@ def _reset_board(env):
|
||||
pass
|
||||
|
||||
|
||||
def list_until(l, cond):
|
||||
return l[:([i for i, e in enumerate(l) if cond(e)][0])]
|
||||
def list_until(list_, cond):
|
||||
return list_[:([i for i, e in enumerate(list_) if cond(e)][0])]
|
||||
|
||||
|
||||
def find_exc_origin(exc_info):
|
||||
|
Loading…
Reference in New Issue
Block a user