Fix inconsitencies between code assumptions and schema (#34901)

* Fix inconsitencies between code assumptions and schema

* Address a couple of RETURN issues, where the description was parsed as a dict
This commit is contained in:
Matt Martz
2018-01-15 18:29:20 -06:00
committed by GitHub
parent 2a9daaa45b
commit 19ab882790
4 changed files with 8 additions and 8 deletions

View File

@@ -1065,7 +1065,7 @@ class ModuleValidator(Validator):
for option, details in options.items():
try:
names = [option] + details.get('aliases', [])
except AttributeError:
except (TypeError, AttributeError):
# Reporting of this syntax error will be handled by schema validation.
continue