Compare commits

..
1 Commits
Author SHA1 Message Date
alientim 1d8f92fd2d Version 2.8.41: Kea-Fassung ohne Herkunft 2026-09-17 10:27:20 +02:00
2 changed files with 4 additions and 2 deletions

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "tesm" name = "tesm"
version = "2.8.40" version = "2.8.41"
description = "TESM -- Verwaltung und Ueberwachung von PoE-Endgeraeten und Aruba-Switchen" description = "TESM -- Verwaltung und Ueberwachung von PoE-Endgeraeten und Aruba-Switchen"
requires-python = ">=3.11" requires-python = ">=3.11"
dependencies = [ dependencies = [
+3 -1
View File
@@ -801,7 +801,9 @@ def service_state(sysops: SysOps) -> dict[str, str]:
fertig = subprocess.run( fertig = subprocess.run(
[pfad, "-V"], capture_output=True, text=True, timeout=5, check=False [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): except (OSError, subprocess.SubprocessError, IndexError):
state["version"] = "" state["version"] = ""
return state return state