Explorar o código

FlexiKey: define STORAGE in base class

avoids some mypy warnings.
Thomas Waldmann %!s(int64=2) %!d(string=hai) anos
pai
achega
f9078ebfa9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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):