Version 2.8.41: Kea-Fassung ohne Herkunft

This commit is contained in:
alientim committed 2026-09-17 10:27:20 +02:00
1 parent 5324174f90
commit 1d8f92fd2d
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "tesm"
version = "2.8.40"
version = "2.8.41"
description = "TESM -- Verwaltung und Ueberwachung von PoE-Endgeraeten und Aruba-Switchen"
requires-python = ">=3.11"
dependencies = [
+3 -1
View File
@@ -801,7 +801,9 @@ def service_state(sysops: SysOps) -> dict[str, str]:
fertig = subprocess.run(
[pfad, "-V"], capture_output=True, text=True, timeout=5, check=False
)
state["version"] = (fertig.stdout or "").strip().splitlines()[0].strip()
# ``kea-dhcp4 -V`` antwortet mit "3.0.3 (3.0.3 (tarball))" -- auf
# einer Kachel steht davon die Nummer, nicht die Herkunft.
state["version"] = (fertig.stdout or "").strip().split()[0].strip()
except (OSError, subprocess.SubprocessError, IndexError):
state["version"] = ""
return state