From 068f3c208f6d6ea027165befcd8e3e1ef6d66a2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Thu, 4 May 2023 15:01:42 +0200 Subject: [PATCH] The epoch is now required --- c2cciutils/lib/docker.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/c2cciutils/lib/docker.py b/c2cciutils/lib/docker.py index e20c1e291..d133a4ccd 100644 --- a/c2cciutils/lib/docker.py +++ b/c2cciutils/lib/docker.py @@ -89,8 +89,6 @@ def get_dpkg_packages_versions( version = Version.from_string(source_split[1].strip("()")) if name == "Version" and version is None: version = Version.from_string(value) - # Don't take care on the epoch - version = Version(upstream=version.upstream, revision=version.revision) return True, {f"{prefix}{k}": v for k, v in package_version.items()}