pyvolt-cli 0.5.0__tar.gz → 0.5.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyvolt-cli
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Summary: The command-line companion to Pyvolt: managed Python deployments on infrastructure you actually own.
5
5
  Project-URL: Homepage, https://pyvolt.com
6
6
  Project-URL: Repository, https://github.com/pyvolt-hq/pyvolt-cli
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "pyvolt-cli"
7
- version = "0.5.0"
7
+ version = "0.5.1"
8
8
  description = "The command-line companion to Pyvolt: managed Python deployments on infrastructure you actually own."
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -365,7 +365,7 @@ def deployments(
365
365
  latest = api.get(f"/v1/apps/{site['id']}/deployments", params={"limit": 1})
366
366
  if latest and latest[0]["id"] != baseline:
367
367
  running = latest[0]
368
- msg = (running.get("commit_message") or "").splitlines()[0][:60]
368
+ msg = ((running.get("commit_message") or "").splitlines() or [""])[0][:60]
369
369
  console.print(
370
370
  f"[green]▶[/green] Deployment [bold]{running['commit_sha'][:7]}[/bold] {msg} "
371
371
  f"({running.get('triggered_by', '')})"
File without changes
File without changes
File without changes