#13 Fix typo and docstring of AddModuleHanlder.get_module_config
Merged 4 years ago by cqi. Opened 4 years ago by cqi.
cqi/ursa-major fix-typo-docstring  into  master

@@ -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

Pull-Request has been merged by cqi

4 years ago
Metadata