Change validate-modules for removed modules

Removed modules now don't have documentation.  Need to account for that
when checking them in validte-modules
This commit is contained in:
Toshio Kuratomi 2018-08-24 01:17:46 -07:00
parent 3ccdb35f59
commit 68c60ad307
3 changed files with 190 additions and 139 deletions

View file

@ -179,10 +179,8 @@ def metadata_1_0_schema(deprecated):
)
def metadata_1_1_schema(deprecated):
def metadata_1_1_schema():
valid_status = Any('stableinterface', 'preview', 'deprecated', 'removed')
if deprecated:
valid_status = Any('deprecated')
return Schema(
{