Query only active modules in PDC.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
This commit is contained in:
parent
1575ed28ea
commit
be9a63c42f
@ -77,6 +77,7 @@ def get_module(session, module_info, strict=False):
|
||||
query = dict(
|
||||
variant_id=module_info['variant_id'],
|
||||
variant_version=module_info['variant_version'],
|
||||
active=True,
|
||||
)
|
||||
if module_info.get('variant_release'):
|
||||
query['variant_release'] = module_info['variant_release']
|
||||
|
Loading…
Reference in New Issue
Block a user