From 186fab7268052714c1b491322045981998b34695 Mon Sep 17 00:00:00 2001 From: vishnuchalla Date: Tue, 26 Mar 2024 09:42:40 -0400 Subject: [PATCH] [Trivial] Refine uuid split (#28) Signed-off-by: Vishnu Challa Co-authored-by: Vishnu Challa --- orion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orion.py b/orion.py index 6f4eadb..a65ee5d 100644 --- a/orion.py +++ b/orion.py @@ -74,7 +74,7 @@ def orion(**kwargs): logging.info("No UUID present for given metadata") sys.exit() else: - uuids = re.split(' |,',baseline) + uuids = [uuid for uuid in re.split(' |,',baseline) if uuid] uuids.append(uuid) if metadata["benchmark.keyword"] == "k8s-netperf" : index = "k8s-netperf"