Remove dead code
These variables are not used anymore, instead it is taken from extra data in the build. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
65a1779e3a
commit
2153c5fe21
@ -143,11 +143,6 @@ def get_koji_modules(compose, koji_wrapper, event, module_info_str):
|
|||||||
if not md["extra"]:
|
if not md["extra"]:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
try:
|
|
||||||
version, context = md["release"].split(".")
|
|
||||||
except ValueError:
|
|
||||||
version = md["release"]
|
|
||||||
context = "00000000"
|
|
||||||
try:
|
try:
|
||||||
md["modulemd"] = md["extra"]["typeinfo"]["module"]["modulemd_str"]
|
md["modulemd"] = md["extra"]["typeinfo"]["module"]["modulemd_str"]
|
||||||
md["tag"] = md["extra"]["typeinfo"]["module"]["content_koji_tag"]
|
md["tag"] = md["extra"]["typeinfo"]["module"]["content_koji_tag"]
|
||||||
|
Loading…
Reference in New Issue
Block a user