Commit 40d23369 authored by Will Kamp's avatar Will Kamp

Fix sufix code, append to sufix code rather than prefix code.

parent d0d037d3
...@@ -282,7 +282,7 @@ types:[<type 'int'>] ...@@ -282,7 +282,7 @@ types:[<type 'int'>]
def add_sufix_code(self, code): def add_sufix_code(self, code):
"""Add the arbitrary Python to be executed just after the Manifest""" """Add the arbitrary Python to be executed just after the Manifest"""
self.prefix_code += code + '\n' self.sufix_code += code + '\n'
def __names(self): def __names(self):
"""A method that returns a list containing the name for every non """A method that returns a list containing the name for every non
...@@ -352,7 +352,7 @@ types:[<type 'int'>] ...@@ -352,7 +352,7 @@ types:[<type 'int'>]
# - options as local variables. # - options as local variables.
content = self.prefix_code + '\n' + content + '\n' + self.sufix_code content = self.prefix_code + '\n' + content + '\n' + self.sufix_code
options = self.__parser_runner(content, extra_context) options = self.__parser_runner(content, extra_context)
# Checkheck the options that were defined in the local context # Check the options that were defined in the local context
ret = {} ret = {}
for opt_name, val in list(options.items()): for opt_name, val in list(options.items()):
# Manifest variables starting with __(name) will be ignored, # Manifest variables starting with __(name) will be ignored,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment