| |
@@ -95,12 +95,13 @@
|
| |
@staticmethod
|
| |
def get_module_config(module_configs, modinfo):
|
| |
"""
|
| |
- Get the module config from configs which matches the module represent
|
| |
+ Get the module config from configs which matches the module represented
|
| |
by the modinfo.
|
| |
|
| |
- :params module_configs: a list of module config
|
| |
+ :param module_configs: a list of module config
|
| |
:type module_configs: list[dict]
|
| |
- :params modinfo: instance of ModuleInfo
|
| |
+ :param modinfo: instance of ModuleInfo
|
| |
+ :type modinfo: :class:`ModuleInfo`
|
| |
:return: the matched module config. None is returned if no module
|
| |
config matches the module metadata.
|
| |
:rtype: dict
|
| |
Signed-off-by: Chenxiong Qi cqi@redhat.com