Skip to content

Commit

Permalink
Fix pep8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dodys committed Oct 18, 2021
1 parent 6540e80 commit dc29213
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 @@ -309,7 +309,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 dc29213

Please sign in to comment.