浏览代码

minor cython code fixes

Thomas Waldmann 2 周之前
父节点
当前提交
4c45087698
共有 1 个文件被更改,包括 1 次插入1 次删除
  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):
         # implementations need to return the size of obfuscation data,
         # that the caller shall add.
-        raise NotImplemented
+        raise NotImplementedError
 
     def _relative_random_reciprocal_obfuscate(self, compr_size):
         # effect for SPEC 1: