Commit 49355279 authored by Tristan Gingold's avatar Tristan Gingold

Minor renaming, comments added.

parent 614874ec
......@@ -70,7 +70,7 @@ class Action(object):
return new_module
def load_all_manifests(self):
# Top level module.
# Load the top level module (which is in the current directory).
assert self.top_manifest is None
self.top_manifest = self.new_module(parent=None,
url=os.getcwd(),
......
......@@ -128,15 +128,16 @@ class Module(object):
logging.debug("Module %s (parent: %s) is NOT fetched.",
url, self.parent.path)
def process_manifest(self):
"""Process the content section of the manifest_dict"""
def _process_manifest(self):
"""Internal function called by parse_manifest.
Process the content section of the manifest_dict"""
logging.debug("Process manifest at: " + os.path.dirname(self.path))
self._process_manifest_universal()
self._process_manifest_library()
self._process_manifest_files()
self._process_manifest_modules()
self._process_manifest_makefiles()
def _process_manifest_universal(self):
def _process_manifest_library(self):
"""Method processing the universal manifest directives;
set library (inherited if not set)."""
# Libraries
......@@ -358,7 +359,7 @@ PARSE START: %s
self.path, type(name_error), name_error))
# Process the parsed manifest_dict to assign the module properties
self.process_manifest()
self._process_manifest()
# Recurse: parse every detected submodule
for submod in self.submodules():
......
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