diff --git a/ssg/build_remediations.py b/ssg/build_remediations.py index 7987056f18cb..dac891b8f62f 100644 --- a/ssg/build_remediations.py +++ b/ssg/build_remediations.py @@ -308,7 +308,8 @@ def generate_platform_conditional(self, platform): assert cpe.value if cpe.negated: - return '{{ [ -n "${0}" ] && [ "${0}" != "{1}" ] ; }}'.format(cpe.variable, cpe.value) + return '{{ [ -n "${0}" ] && [ "${0}" != "{1}" ] ; }}'.format(cpe.variable, + cpe.value) return '[ "${0}" == "{1}" ]'.format(cpe.variable, cpe.value) elif platform is not None: # Assume any other platform is a Package CPE