mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-09 02:01:13 +00:00
Check that architecture config doesn't include "all"
Add 'all' as an architecture will not give the correct result. To avoid confusion, explicitly check for this and error out if it is added.
This commit is contained in:
parent
a567dfd58d
commit
9056323165
@ -19,6 +19,8 @@ class SuiteContentLoader(object):
|
||||
def __init__(self, base_config):
|
||||
self._base_config = base_config
|
||||
self._architectures = SuiteContentLoader.config_str_as_list(base_config.architectures)
|
||||
assert 'all' not in self._architectures, "all not allowed in architectures"
|
||||
|
||||
self._nobreakall_arches = SuiteContentLoader.config_str_as_list(base_config.nobreakall_arches, [])
|
||||
self._outofsync_arches = SuiteContentLoader.config_str_as_list(base_config.outofsync_arches, [])
|
||||
self._break_arches = SuiteContentLoader.config_str_as_list(base_config.break_arches, [])
|
||||
|
Loading…
x
Reference in New Issue
Block a user