Port to libmodulemd v2
Fixes: https://pagure.io/pungi/issue/1225 JIRA: COMPOSE-3662 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
62c6d4ddcf
commit
61e3cb0ef1
14 changed files with 143 additions and 132 deletions
|
|
@ -229,8 +229,8 @@ def validate_module_defaults(path):
|
|||
"""
|
||||
seen_defaults = collections.defaultdict(set)
|
||||
|
||||
for mmddef in iter_module_defaults(path):
|
||||
seen_defaults[mmddef.peek_module_name()].add(mmddef.peek_default_stream())
|
||||
for module_name, defaults in iter_module_defaults(path):
|
||||
seen_defaults[module_name].add(defaults.get_default_stream())
|
||||
|
||||
errors = []
|
||||
for module_name, defaults in seen_defaults.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue