Index: Source/build/scripts/in_file.py |
diff --git a/Source/build/scripts/in_file.py b/Source/build/scripts/in_file.py |
index d8d8235704b8f142d6e4fccbaa22ce1b0cb4b41b..b33969ecc44b93207b27a07108b5ce59e3a6c5f6 100644 |
--- a/Source/build/scripts/in_file.py |
+++ b/Source/build/scripts/in_file.py |
@@ -64,6 +64,7 @@ class InFile(object): |
def load_from_files(self, file_paths, defaults, valid_values, default_parameters): |
lines = [] |
for path in file_paths: |
+ assert path.endswith(".in") |
with open(os.path.abspath(path)) as in_file: |
lines += in_file.readlines() |
return InFile(lines, defaults, valid_values, default_parameters) |