Przeglądaj źródła

minor cython code fixes

Thomas Waldmann 2 tygodni temu
rodzic
commit
4c45087698
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/borg/compress.pyx

+ 1 - 1
src/borg/compress.pyx

@@ -465,7 +465,7 @@ class ObfuscateSize(CompressorBase):
     def _obfuscate(self, compr_size):
     def _obfuscate(self, compr_size):
         # implementations need to return the size of obfuscation data,
         # implementations need to return the size of obfuscation data,
         # that the caller shall add.
         # that the caller shall add.
-        raise NotImplemented
+        raise NotImplementedError
 
 
     def _relative_random_reciprocal_obfuscate(self, compr_size):
     def _relative_random_reciprocal_obfuscate(self, compr_size):
         # effect for SPEC 1:
         # effect for SPEC 1: