From 75bf953c80daf5508fcdefe1d6b21a1a83d4900b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 2 Feb 2023 16:01:00 +0100 Subject: [PATCH] fix pylint: C0104: Disallowed name "bar" (disallowed-name) --- fdroidserver/deploy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fdroidserver/deploy.py b/fdroidserver/deploy.py index 13a8982b..0661bb3a 100644 --- a/fdroidserver/deploy.py +++ b/fdroidserver/deploy.py @@ -430,12 +430,12 @@ def update_servergitmirrors(servergitmirrors, repo_section): repo.index.commit("fdroidserver git-mirror") if options.verbose: - bar = progress.Bar() + progressbar = progress.Bar() class MyProgressPrinter(git.RemoteProgress): def update(self, op_code, current, maximum=None, message=None): if isinstance(maximum, float): - bar.show(current, maximum) + progressbar.show(current, maximum) progress = MyProgressPrinter() else: progress = None @@ -497,7 +497,7 @@ def update_servergitmirrors(servergitmirrors, repo_section): logging.debug(remote.url + ': ' + pushinfo.summary) if progress: - bar.done() + progressbar.done() def upload_to_android_observatory(repo_section):