From ce3a558d515bd1a12d9e8a5351febf0dfb535018 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Apr 18 2019 04:09:11 +0000 Subject: Fix typo and docstring of AddModuleHanlder.get_module_config Signed-off-by: Chenxiong Qi --- diff --git a/ursa_major/handlers/add_tag.py b/ursa_major/handlers/add_tag.py index 44d3630..120ba84 100644 --- a/ursa_major/handlers/add_tag.py +++ b/ursa_major/handlers/add_tag.py @@ -95,12 +95,13 @@ class AddTagHandler(BaseHandler): @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