aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/helper_file_generator.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/helper_file_generator.py b/scripts/helper_file_generator.py
index 7746c29c..6b271038 100644
--- a/scripts/helper_file_generator.py
+++ b/scripts/helper_file_generator.py
@@ -134,6 +134,9 @@ class HelperFileOutputGenerator(OutputGenerator):
def endFile(self):
dest_file = ''
dest_file += self.OutputDestFile()
+ # Remove blank lines at EOF
+ if dest_file.endswith('\n'):
+ dest_file = dest_file[:-1]
write(dest_file, file=self.outFile);
# Finish processing in superclass
OutputGenerator.endFile(self)