Skip to content

Commit

Permalink
Fix pep8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dodys committed Jan 5, 2022
1 parent 60d8b46 commit 1e071be
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 @@ -310,7 +310,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 1e071be

Please sign in to comment.