We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc7d876 commit 2034864Copy full SHA for 2034864
src/borg/compress.pyx
@@ -526,9 +526,10 @@ class Auto(CompressorBase):
526
get_meta(cheap_meta, meta)
527
return meta, cheap_compressed_data
528
529
- def decompress(self, data):
+ def decompress(self, meta, data):
530
raise NotImplementedError
531
532
+ @classmethod
533
def detect(cls, data):
534
535
@@ -562,7 +563,7 @@ class ObfuscateSize(CompressorBase):
562
563
def _obfuscate(self, compr_size):
564
# implementations need to return the size of obfuscation data,
565
# that the caller shall add.
- raise NotImplemented
566
+ raise NotImplementedError
567
568
def _relative_random_reciprocal_obfuscate(self, compr_size):
569
# effect for SPEC 1:
0 commit comments