From f85665f42f77274764878d1160158fb841c68feb Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 18 Jul 2016 10:46:33 -0400 Subject: [PATCH] Skip the query to PDC for the koji-tag for now. --- rida/pdc.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rida/pdc.py b/rida/pdc.py index 58c6dff3..4fcd238d 100644 --- a/rida/pdc.py +++ b/rida/pdc.py @@ -140,7 +140,11 @@ def get_module_tag(session, module_info, strict=False): :param module_info: list of module_info dicts :return: koji tag string """ - return get_module(session, module_info, strict=strict)['koji_tag'] + # TODO -- get this from PDC some day... for now, we're just going to + # construct the module tag name from the module attrs we already know + # about. + #return get_module(session, module_info, strict=strict)['koji_tag'] + return "{name}-{version}-{release}".format(**module_info) def module_depsolving_wrapper(session, module_list, strict=False): """