Skip to content

Commit

Permalink
assembly.py: permits should be a list
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiouxme committed Sep 1, 2021
1 parent 755f598 commit 49d831c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doozerlib/assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def assembly_permits(releases_config: Model, assembly: typing.Optional[str]) ->
permits are defined ListModel([]) is returned.
"""

defined_permits = _assembly_config_struct(releases_config, assembly, 'permits', {})
defined_permits = _assembly_config_struct(releases_config, assembly, 'permits', [])

if not defined_permits and (assembly == 'stream' or not assembly): # If assembly is None, this a group without assemblies enabled
# TODO: Address this formally with https://issues.redhat.com/browse/ART-3162 .
Expand Down

0 comments on commit 49d831c

Please sign in to comment.