Skip to content

Commit

Permalink
Merge pull request #844 from rodrigogansobarbieri/yoga_fix_pep8
Browse files Browse the repository at this point in the history
[stable/yoga] Fix pep8 error in assert type comparison
  • Loading branch information
ajkavanagh authored Sep 5, 2023
2 parents de8e0f0 + d0a54fc commit 910c898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charmhelpers/fetch/snap.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _snap_exec(commands):
:param commands: List commands
:return: Integer exit code
"""
assert type(commands) == list
assert type(commands) is list

retry_count = 0
return_code = None
Expand Down

0 comments on commit 910c898

Please sign in to comment.