]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
run: fix invalid error handling 2598/head
authorEric Leblond <el@stamus-networks.com>
Wed, 11 Jun 2025 07:18:49 +0000 (09:18 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 14 Jul 2025 20:28:34 +0000 (22:28 +0200)
run.py

diff --git a/run.py b/run.py
index b0cc6f0cf4280b2710c644c2ca0e9b82e8ec967e..1b3ade35e3c5c10b89b9e44814a768544732ecb5 100755 (executable)
--- a/run.py
+++ b/run.py
@@ -178,7 +178,7 @@ def pipe_reader(fileobj, output=None, verbose=False, utf8_errors=[]):
             try:
                 line = line.decode().strip()
             except:
-                self.utf8_errors.append("Invalid line")
+                utf8_errors.append("Invalid line")
             print(line)