Skip to content

Commit

Permalink
pep8: use isinstance()
Browse files Browse the repository at this point in the history
  • Loading branch information
freyes committed Aug 9, 2023
1 parent 9fff167 commit 984808b
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 isinstance(commands, list)

retry_count = 0
return_code = None
Expand Down

0 comments on commit 984808b

Please sign in to comment.