浏览代码

scripts/StepImporter/CppGenerator.py: return 0 exit code on success

Charlie Gettys 6 年之前
父节点
当前提交
44e89520eb
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      scripts/StepImporter/CppGenerator.py

+ 3 - 0
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'))