Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -71,7 +71,7 @@ def get_cpp_objects(header=header): · 70 unmodified lines | ||
| 71 | 71 | |
| 72 | 72 | def generate_external(header=header, output_path=output_path, usedouble=False, overwrite=True): |
| 73 | 73 | if not os.path.isdir(output_path): os.mkdir(output_path) |
| 74 | − elif overwrite == False: return glob.glob(os.path.join(output_path, '*.c')) | |
| 74 | + elif not overwrite: return glob.glob(os.path.join(output_path, '*.c')) | |
| 75 | 75 | sources_list = [] |
| 76 | 76 | cpp_output, cpp_objects = get_cpp_objects(header) |
| 77 | 77 | lib = {} |