From 241e0e16d97063bf0cb59d5eb6e28d730d836834 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 10 Jul 2023 21:38:29 +0200 Subject: [PATCH] Continued: - alias severity level during fetch_oliphant, too --- fba/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fba/commands.py b/fba/commands.py index 4f7e688..e42acf4 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -1001,9 +1001,9 @@ def fetch_oliphant(args: argparse.Namespace) -> int: continue if "#severity" in row: - severity = row["#severity"] + severity = utils.alias_block_level(row["#severity"]) elif "severity" in row: - severity = row["severity"] + severity = utils.alias_block_level(row["severity"]) else: logger.debug("row='%s' does not contain severity column", row) continue -- 2.39.5