From afa13ebc2ab6210f1fad5e3c00f9babd1711d632 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Sat, 25 Jan 2020 18:37:59 +0100 Subject: [PATCH] Add missing iv fixed part in error output pylint complained: crypto.py:1357:36: E1306: Not enough arguments for format string (too-few-format-args) --- deltatar/crypto.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deltatar/crypto.py b/deltatar/crypto.py index 9140454..ccec5e4 100755 --- a/deltatar/crypto.py +++ b/deltatar/crypto.py @@ -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) -- 1.7.1