sanitycheck: don't require arch.ini blocks for every platform
If the arch ini file doesn't have a specific block for the platform, just assume all defaults. Change-Id: Id6ab1ede8936bdd6006a5c4fd2f9a4f6aaf42478 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
821d832f6d
commit
e57a1e5622
1 changed files with 2 additions and 1 deletions
|
@ -831,7 +831,8 @@ class SanityConfigParser:
|
|||
cp = self.cp
|
||||
|
||||
if not cp.has_section(section):
|
||||
raise ConfigurationError(self.filename, "Missing section '%s'" % section)
|
||||
# Just fill it with defaults
|
||||
cp.add_section(section)
|
||||
|
||||
for k, v in cp.items(section):
|
||||
if k not in valid_keys:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue