From 14e12bc404e790ce887c85c24d0d8aff557ccf20 Mon Sep 17 00:00:00 2001 From: Mikhail Sandakov Date: Fri, 16 Feb 2024 09:46:39 +0200 Subject: [PATCH] fixup! Support parsing kernel versions with prefix strings --- pleskdistup/common/src/version.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pleskdistup/common/src/version.py b/pleskdistup/common/src/version.py index b21aa41..92cdbf2 100644 --- a/pleskdistup/common/src/version.py +++ b/pleskdistup/common/src/version.py @@ -115,7 +115,6 @@ def __init__(self, to_extract: str): if to_extract.startswith("plesk-php"): self._extract_from_plesk_package(to_extract) - elif to_extract.startswith("PHP "): self._extract_from_desc(to_extract) elif to_extract[0].isdigit():