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 24, 2021
1 parent 33ca803 commit 394db6c
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 394db6c

Please sign in to comment.