1
0
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:
Alexandre Abadie 2021-01-07 18:30:40 +01:00
parent 40ce74b54d
commit 84e2881d18
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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):