From 5364f5b64d39d18245d1f620c301e792caf7d093 Mon Sep 17 00:00:00 2001 From: Lance Bragstad Date: Wed, 13 Mar 2024 22:31:08 -0500 Subject: [PATCH] trivial: fix linting issue Follow on patch to https://github.com/ComplianceAsCode/content/pull/11593 --- ssg/build_yaml.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ssg/build_yaml.py b/ssg/build_yaml.py index 0d4cc9e9d56..d4f006e8669 100644 --- a/ssg/build_yaml.py +++ b/ssg/build_yaml.py @@ -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']