From bcdc1c7ff1ba166aa1990f77d71bb410cae959c3 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Fri, 13 Dec 2019 21:36:04 +0100 Subject: [PATCH] CatPipe: remove _ver_warned This variable is no longer used, remove it entirely Signed-off-by: Johannes Berg --- lib/bup/git.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/bup/git.py b/lib/bup/git.py index 13913a5..acceccc 100644 --- a/lib/bup/git.py +++ b/lib/bup/git.py @@ -1165,11 +1165,9 @@ class _AbortableIter: self.abort() -_ver_warned = 0 class CatPipe: """Link to 'git cat-file' that is used to retrieve blob data.""" def __init__(self, repo_dir = None): - global _ver_warned self.repo_dir = repo_dir wanted = ('1','5','6') if ver() < wanted: -- 2.39.2