Add missing iv fixed part in error output
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 25 Jan 2020 17:37:59 +0000 (18:37 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 25 Jan 2020 17:37:59 +0000 (18:37 +0100)
pylint complained:
crypto.py:1357:36: E1306: Not enough arguments for format string (too-few-format-args)

deltatar/crypto.py

index 9140454..ccec5e4 100755 (executable)
@@ -1356,7 +1356,7 @@ class Decrypt (Crypto):
                 and self.last_iv [1] != cnt - 1:
             raise NonConsecutiveIV ("iv %s counter not successor of "
                                     "last object (expected %d, found %d)"
-                                    % (iv_fmt (self.last_iv [1]), cnt))
+                                    % (fixed, iv_fmt (self.last_iv [1]), cnt))
         self.last_iv = (iv, cnt)