Skip to content

Commit 30a4a8d

Browse files
committed
scripts: T6877: fix an error when the base flavor for merging has no packages field
1 parent 1e038ab commit 30a4a8d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/utils/merge-flavors

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ if __name__ == '__main__':
5858
if 'architectures' not in base_flavor:
5959
base_flavor['architectures'] = {}
6060

61+
if 'packages' not in base_flavor:
62+
base_flavor['packages'] = []
63+
6164
flavor_files = sys.argv[2:]
6265
flavor_defs = map(load_flavor, flavor_files)
6366

0 commit comments

Comments
 (0)