Skip to content

Commit

Permalink
'is not' should not be used for int comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
concaf authored and tekton-robot committed Mar 21, 2022
1 parent fe48309 commit 733bb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operatorhub/tools/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,6 @@ def divider(title=''):
divider("BundleGen")
config = buildConfig()
return_code = generate_bundle(config)
if return_code is not 0:
if return_code != 0:
exit(return_code)
newCSVmods(config)

0 comments on commit 733bb6e

Please sign in to comment.