fix(hermes): repair sonar/atlasbot/python:S3776/AZ2y3T38Ky9i4pkIpSiX #7

Open
bstein wants to merge 1 commits from hermes-repair/sonar-AZ2y3T38Ky9i4pkIpSiX into main

View File

@ -255,7 +255,7 @@ def _spine_from_counts(summary: dict[str, Any]) -> dict[str, str]:
not_ready = len(inventory.get("not_ready_names") or []) not_ready = len(inventory.get("not_ready_names") or [])
workers_ready = workers.get("ready") workers_ready = workers.get("ready")
workers_total = workers.get("total") workers_total = workers.get("total")
if total is None and ready is None and not_ready is None: if all(value is None for value in (total, ready, not_ready)):
return {} return {}
parts = [] parts = []
if total is not None: if total is not None: