Validate meta data

This commit is contained in:
Don Gagne
2015-07-22 09:01:31 -07:00
parent 0d37de005b
commit ad7612220d
3 changed files with 62 additions and 39 deletions
+4 -1
View File
@@ -115,7 +115,10 @@ def main():
# Scan directories, and parse the files
print("Scanning source path " + args.src_path)
scanner.ScanDir(args.src_path, parser)
if not scanner.ScanDir(args.src_path, parser):
sys.exit(1)
if not parser.Validate():
sys.exit(1)
param_groups = parser.GetParamGroups()
# Output to XML file