summaryrefslogtreecommitdiff
path: root/gen-code.py
diff options
context:
space:
mode:
Diffstat (limited to 'gen-code.py')
-rw-r--r--gen-code.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gen-code.py b/gen-code.py
index 3bd1cbc..4b2eebf 100644
--- a/gen-code.py
+++ b/gen-code.py
@@ -160,9 +160,9 @@ def check_code(index, config):
else:
next_msg = \
- config.__ERROR_PROLOGUE__.lstrip('\n').rstrip('\n') \
+ config.__ERROR_PROLOGUE__.lstrip('\n') \
+ '\n'.join(next_msg) \
- + config.__ERROR_EPILOGUE__.rstrip('\n') \
+ + config.__ERROR_EPILOGUE__
return next_msg