From 3b99b6eed2e4c6b46514abcdc3e70b7b13de1b20 Mon Sep 17 00:00:00 2001 From: Alexander Stepchenko Date: Wed, 6 Nov 2024 21:25:14 +0300 Subject: [PATCH] remove unused variables --- build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index ffc05ee..51a40bc 100755 --- a/build.py +++ b/build.py @@ -113,11 +113,11 @@ class Tags: if image.is_versioned and image.source_packages: package_name = image.source_packages[0] - if mat := re.search("{%.*%}", package_name): + if re.search("{%.*%}", package_name): package_name = Template(package_name).render(branch=branch).strip() print(f"{package_name=}") - if mat := re.search("{{.*}}", package_name): + if re.search("{{.*}}", package_name): if PKG_VERSIONS is None: raise RuntimeError( f"--package-versions option is not specified, required for {image.canonical_name!r}"