Forráskód Böngészése

FlexiKey: define STORAGE in base class

avoids some mypy warnings.
Thomas Waldmann 2 éve
szülő
commit
f9078ebfa9
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      src/borg/crypto/key.py

+ 1 - 0
src/borg/crypto/key.py

@@ -417,6 +417,7 @@ class AESKeyBase(KeyBase):
 
 class FlexiKey:
     FILE_ID = "BORG_KEY"
+    STORAGE = KeyBlobStorage.NO_STORAGE  # override in subclass
 
     @classmethod
     def detect(cls, repository, manifest_data):