Skip to content

Commit

Permalink
trivial: resolve flake8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ximion committed Dec 22, 2023
1 parent a1c3c67 commit 4d716e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debspawn/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def listify(item: T.Any):
'''
if not item:
return []
return item if type(item) == list else [item]
return item if isinstance(item, list) else [item]


@contextmanager
Expand Down

0 comments on commit 4d716e1

Please sign in to comment.