From b1eccd67f7c02f782213c09d317b6647090b8f28 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 22 Oct 2019 12:22:30 +1000 Subject: [PATCH] fix lint --- aqt/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aqt/main.py b/aqt/main.py index 63e97c6dc..133307bcb 100644 --- a/aqt/main.py +++ b/aqt/main.py @@ -1168,6 +1168,8 @@ will be lost. Continue?""")) self.progress.update(label) finally: self.progress.finish() + # caller must not pass in empty list + # pylint: disable=undefined-loop-variable numberOfFilesDeleted = c + 1 tooltip(ngettext("Deleted %d file.", "Deleted %d files.",