소스 검색

FlexiKey: define STORAGE in base class

avoids some mypy warnings.
Thomas Waldmann 2 년 전
부모
커밋
f9078ebfa9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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):