test: remove unused idx variable
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
d633637899
commit
31d352bb1f
|
@ -445,7 +445,7 @@ def generator(logfile):
|
||||||
|
|
||||||
def search_for_tests():
|
def search_for_tests():
|
||||||
basedir = Path(xdg.BaseDirectory.xdg_data_home) / 'tuhi'
|
basedir = Path(xdg.BaseDirectory.xdg_data_home) / 'tuhi'
|
||||||
for idx, logfile in enumerate(basedir.glob('**/raw/log-*.yaml')):
|
for logfile in basedir.glob('**/raw/log-*.yaml'):
|
||||||
with open(logfile) as fd:
|
with open(logfile) as fd:
|
||||||
yml = yaml.load(fd, Loader=yaml.Loader)
|
yml = yaml.load(fd, Loader=yaml.Loader)
|
||||||
timestamp = yml['time']
|
timestamp = yml['time']
|
||||||
|
|
Loading…
Reference in New Issue