From 2153c5fe21454bc5cbcd22757e6f7cf2ebc28d81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Thu, 25 Oct 2018 11:10:31 +0200 Subject: [PATCH] Remove dead code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These variables are not used anymore, instead it is taken from extra data in the build. Signed-off-by: Lubomír Sedlář --- pungi/phases/pkgset/sources/source_koji.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pungi/phases/pkgset/sources/source_koji.py b/pungi/phases/pkgset/sources/source_koji.py index 40a38ef4..bb793c73 100644 --- a/pungi/phases/pkgset/sources/source_koji.py +++ b/pungi/phases/pkgset/sources/source_koji.py @@ -143,11 +143,6 @@ def get_koji_modules(compose, koji_wrapper, event, module_info_str): if not md["extra"]: continue - try: - version, context = md["release"].split(".") - except ValueError: - version = md["release"] - context = "00000000" try: md["modulemd"] = md["extra"]["typeinfo"]["module"]["modulemd_str"] md["tag"] = md["extra"]["typeinfo"]["module"]["content_koji_tag"]