From 994afe735499a17b9ba3b0571a7598053bd16cf9 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 24 Jul 2025 15:40:04 +0300 Subject: [PATCH] Style(cmp): Fix `flake8` warning F824 The warning was "`global pbar` is unused: name is never assigned in scope." Ok, let's assign a dummy value. --- scripts/cmp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/cmp.py b/scripts/cmp.py index 00ad28d..2114ca7 100755 --- a/scripts/cmp.py +++ b/scripts/cmp.py @@ -9,6 +9,7 @@ import sys def report(silent): if show_pbar: global pbar + pbar = None del pbar if not silent: sys.stderr.write("Files differ at %d megabayte block\n" % count) -- 2.39.5