From 11f4b647c219a768e96e79474027b83085f52b84 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 16 Oct 2024 21:14:22 +0200 Subject: [PATCH] snapshot processing: improve warning msg add comment TODO that system annotation should happen --- evidence/parse.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/evidence/parse.py b/evidence/parse.py index fa0903c..dfc5a1f 100644 --- a/evidence/parse.py +++ b/evidence/parse.py @@ -113,7 +113,8 @@ class Build: # mac = get_mac2(hwinfo_raw) or "" mac = get_mac(lshw) or "" if not mac: - print("WARNING!! No there are MAC address") + print(f"WARNING: Could not retrieve MAC address in snapshot {snapshot['uuid']}" ) + # TODO generate system annotation for that snapshot else: print(f"{manufacturer}{model}{chassis}{serial_number}{sku}{mac}")