test: remove unused idx variable

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
pull/174/head
Peter Hutterer 2019-08-22 09:29:19 +10:00
parent d633637899
commit 31d352bb1f
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ def generator(logfile):
def search_for_tests():
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:
yml = yaml.load(fd, Loader=yaml.Loader)
timestamp = yml['time']