Commit d3824815 authored by Paweł Szostek's avatar Paweł Szostek

Make "action" variable omnipresent

Action variable from the top manifest is now passed
everywhere. It means, it is present when parsing all
manifests and it can be used for any purposes.
parent b9953ed4
......@@ -135,6 +135,7 @@ class Module(object):
if(self.parent != None):
manifest_parser.add_arbitrary_code("target=\""+str(global_mod.top_module.target)+"\"")
manifest_parser.add_arbitrary_code("action=\""+str(global_mod.top_module.action)+"\"")
manifest_parser.add_arbitrary_code(global_mod.options.arbitrary_code)
if self.manifest == None:
......
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