Skip to content

Commit

Permalink
🐛 check that cibuildwheel result is not None
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Oct 25, 2024
1 parent 8928939 commit 0199167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ozi/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def release( # noqa: C901

if cibuildwheel:
res = c.run('cibuildwheel --prerelease-pythons --output-dir dist .', warn=True)
if res.exited != 0 and wheel:
if res is not None and res.exited != 0 and wheel:
c.run('python -m build --wheel')
elif wheel:
c.run('python -m build --wheel')
Expand Down

0 comments on commit 0199167

Please sign in to comment.