Skip to content

Commit

Permalink
spacing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
paigerube14 committed Jan 3, 2025
1 parent f39c728 commit 930b8dc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,13 @@ def process_test(

# get uuids if there is a baseline and uuid set
if options["baseline"] not in ("", None):
# if baseline is set,
# if baseline is set, set uuids
uuids = [uuid for uuid in re.split(r" |,", options["baseline"]) if uuid]
uuids.append(options["uuid"])
runs = match.getResults("", uuids, fingerprint_index, {})

# get metadata of one run
metadata = get_metadata_with_uuid(options["uuid"], match)
else:
else:
# getting metadata
metadata = extract_metadata_from_test(test) if options["uuid"] in ("", None) else get_metadata_with_uuid(options["uuid"], match)
# get uuids, buildUrls matching with the metadata
Expand All @@ -236,7 +235,6 @@ def process_test(
last_uuid_run = last_version_run[-1]
runs.append(last_uuid_run)


if not runs:
logger.info("No UUID present for given metadata")
return None, None
Expand Down

0 comments on commit 930b8dc

Please sign in to comment.