From 31d352bb1f01b18bcb2998a26eb2e75c4b01fac1 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 22 Aug 2019 09:29:19 +1000 Subject: [PATCH] test: remove unused idx variable Signed-off-by: Peter Hutterer --- test/test_strokes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_strokes.py b/test/test_strokes.py index 7c74c21..96a4eed 100755 --- a/test/test_strokes.py +++ b/test/test_strokes.py @@ -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']