Skip to content

Commit

Permalink
move the print outside finally
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsadhwani committed May 23, 2024
1 parent 6499573 commit 4131fb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/packaged/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,12 @@ def create_package(
print("Stderr:\n" + exc.stdout.decode(errors="ignore"), file=sys.stderr)
raise

finally:
spinner.stop()
if not quiet:
print(f"Package {output_path!r} built successfully!")

finally:
spinner.stop()
# Cleanup the packaged python and startup script from source directory
if os.path.exists(startup_script_path):
os.remove(startup_script_path)
Expand Down

0 comments on commit 4131fb1

Please sign in to comment.