Skip to content
Snippets Groups Projects
Commit 763c04ff authored by Volodymyr Babchuk's avatar Volodymyr Babchuk Committed by Jérôme Forissier
Browse files

Fix indentation in make_def_config.py


Function concatenate_files() used mix of tabs and spaces,
and python3 was very unhappy about this.

Signed-off-by: default avatarVolodymyr Babchuk <vlad.babchuk@gmail.com>
Acked-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
parent 42de8047
No related branches found
No related tags found
No related merge requests found
......@@ -24,11 +24,11 @@ def get_args():
return parser.parse_args()
def concatenate_files(top_dir, dst, srcs):
with open(dst, 'w') as outfile:
for fname in srcs:
with open(fname) as infile:
for line in infile:
outfile.write(line.replace('%TOP_DIR%', top_dir))
with open(dst, 'w') as outfile:
for fname in srcs:
with open(fname) as infile:
for line in infile:
outfile.write(line.replace('%TOP_DIR%', top_dir))
def main():
args = get_args()
......
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