Skip to content
Snippets Groups Projects
Unverified Commit 3ad699cc authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Fix generate_log_config script (#8952)

It used to write an empty file if you gave it a -o arg.
parent be2db93b
No related branches found
No related tags found
No related merge requests found
Fix bug in `generate_log_config` script which made it write empty files.
......@@ -40,4 +40,6 @@ if __name__ == "__main__":
)
args = parser.parse_args()
args.output_file.write(DEFAULT_LOG_CONFIG.substitute(log_file=args.log_file))
out = args.output_file
out.write(DEFAULT_LOG_CONFIG.substitute(log_file=args.log_file))
out.flush()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment