From 7ce6e3c9cac1653579d7f4efdfca76491c1fa5e7 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Wed, 16 Aug 2023 15:20:48 +1200 Subject: [PATCH] selftest: Remove unused variable Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- selftest/subunithelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selftest/subunithelper.py b/selftest/subunithelper.py index ec65b16b4f5..7f82532c7cd 100644 --- a/selftest/subunithelper.py +++ b/selftest/subunithelper.py @@ -69,7 +69,7 @@ def parse_results(msg_ops, statistics, fh): msg_ops.control_msg(l) try: dt = iso_parse_date(arg.rstrip("\n")) - except TypeError as e: + except TypeError: print("Unable to parse time line: %s" % arg.rstrip("\n")) else: msg_ops.time(dt) -- 2.11.4.GIT