Browse Source

Merge "Fix modelschema.schema_list()"

pull/70/merge
mcp-jenkins 7 years ago
parent
commit
380c6abcc6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      _modules/modelschema.py

+ 1
- 1
_modules/modelschema.py View File

@@ -70,7 +70,7 @@ def schema_list():

"""
output = {}
schemas = glob.glob('{}/*/*/schemas/*.yaml'.format(_get_base_dir()))
schemas = glob.glob('{}/*/schemas/*.yaml'.format(_get_base_dir()))
for schema in schemas:
if os.path.exists(schema):
role_name = schema.split('/')[-1].replace('.yaml', '')

Loading…
Cancel
Save