Index: Source/bindings/scripts/generate_global_constructors.py |
diff --git a/Source/bindings/scripts/generate_global_constructors.py b/Source/bindings/scripts/generate_global_constructors.py |
index 039ca0d2ddbfe2da2eae75a7ed9e4c7e9d895072..c98aeb4e301452d5230d47c63196a0577aca4f11 100755 |
--- a/Source/bindings/scripts/generate_global_constructors.py |
+++ b/Source/bindings/scripts/generate_global_constructors.py |
@@ -103,7 +103,7 @@ def write_global_constructors_partial_interface(interface_name, destination_file |
# FIXME: sort by interface name (not first by extended attributes) |
for constructor_attribute in sorted(constructor_attributes_list)] + |
['};\n']) |
- write_file(lines, destination_filename, only_if_changed) |
+ write_file(''.join(lines), destination_filename, only_if_changed) |
################################################################################ |