Commit a768a46a authored by Tristan Gingold's avatar Tristan Gingold

More refactoring.

parent 4d202f7d
...@@ -34,6 +34,7 @@ class ModuleContent(ModuleConfig): ...@@ -34,6 +34,7 @@ class ModuleContent(ModuleConfig):
self._process_manifest_files() self._process_manifest_files()
self._process_manifest_modules() self._process_manifest_modules()
self._process_manifest_makefiles() self._process_manifest_makefiles()
self._process_git_submodules()
def _process_manifest_universal(self): def _process_manifest_universal(self):
"""Method processing the universal manifest directives; """Method processing the universal manifest directives;
...@@ -131,7 +132,7 @@ class ModuleContent(ModuleConfig): ...@@ -131,7 +132,7 @@ class ModuleContent(ModuleConfig):
parent=self, url=path, source=m, fetchto=fetchto)) parent=self, url=path, source=m, fetchto=fetchto))
self.modules[m] = mods self.modules[m] = mods
def process_git_submodules(self): def _process_git_submodules(self):
"""Get the submodules if found in the Manifest path""" """Get the submodules if found in the Manifest path"""
if not self.source == 'gitsm': if not self.source == 'gitsm':
return return
......
...@@ -143,7 +143,6 @@ PARSE START: %s ...@@ -143,7 +143,6 @@ PARSE START: %s
# Process the parsed manifest_dict to assign the module properties # Process the parsed manifest_dict to assign the module properties
self.process_manifest() self.process_manifest()
self.process_git_submodules()
# Recurse: parse every detected submodule # Recurse: parse every detected submodule
for submod in self.submodules(): 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