Skip to content

Commit

Permalink
Merge pull request ComplianceAsCode#11711 from rhmdnd/fix-long-line-c…
Browse files Browse the repository at this point in the history
…omment

trivial: fix linting issue
  • Loading branch information
marcusburghardt authored Mar 15, 2024
2 parents 2d2bf88 + 5364f5b commit 50efdf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ssg/build_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ def add_reference_elements(element, references, ref_uri_dict):
if ref_val.startswith('SRG-OS-'):
ref_href = ref_uri_dict['os-srg']
elif re.match(r'SRG-APP-\d{5,}-CTR-\d{5,}', ref_val):
# The more specific case needs to come first, otherwise the generic SRG-APP will catch everything
# The more specific case needs to come first, otherwise the generic SRG-APP
# will catch everything
ref_href = ref_uri_dict['app-srg-ctr']
elif ref_val.startswith('SRG-APP-'):
ref_href = ref_uri_dict['app-srg']
Expand Down

0 comments on commit 50efdf4

Please sign in to comment.