From 44e89520eb6ebb419f38b1a191e5d0cfafe5d249 Mon Sep 17 00:00:00 2001 From: Charlie Gettys Date: Wed, 27 Mar 2019 13:06:48 -0400 Subject: [PATCH] scripts/StepImporter/CppGenerator.py: return 0 exit code on success --- scripts/StepImporter/CppGenerator.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/StepImporter/CppGenerator.py b/scripts/StepImporter/CppGenerator.py index 59254f780..f081d882a 100644 --- a/scripts/StepImporter/CppGenerator.py +++ b/scripts/StepImporter/CppGenerator.py @@ -300,5 +300,8 @@ def work(filename): with open(output_file_cpp,'wt') as outp: outp.write(inp.read().replace('{schema-static-table}',schema_table).replace('{converter-impl}',converters)) + # Finished without error, so return 0 + return 0 + if __name__ == "__main__": sys.exit(work(sys.argv[1] if len(sys.argv)>1 else 'schema.exp'))