]> arthur.barton.de Git - bup.git/commitdiff
CatPipe: remove _ver_warned
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 13 Dec 2019 20:36:04 +0000 (21:36 +0100)
committerRob Browning <rlb@defaultvalue.org>
Tue, 7 Jan 2020 23:51:35 +0000 (17:51 -0600)
This variable is no longer used, remove it entirely

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
lib/bup/git.py

index 13913a56328a418f551d7c727a22798ac4920793..acceccc74fee13c1addc193c6f90c1773542d83f 100644 (file)
@@ -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: