Skip to content

Commit

Permalink
Fix pep8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dodys committed Sep 23, 2021
1 parent 8a112ac commit 219758b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ssg/build_remediations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 219758b

Please sign in to comment.