diff --git a/br-ext/scripts/make_def_config.py b/br-ext/scripts/make_def_config.py
index be30ec5dae6a47e3792298ffbbadb3c4bb6e3455..5d42cac87e54ebf86fdbffd4fe7c284d574c653c 100644
--- a/br-ext/scripts/make_def_config.py
+++ b/br-ext/scripts/make_def_config.py
@@ -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()