summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
Diffstat (limited to 'func')
-rw-r--r--func/minion/modules/func_module.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/func/minion/modules/func_module.py b/func/minion/modules/func_module.py
index 56fd171..d05af66 100644
--- a/func/minion/modules/func_module.py
+++ b/func/minion/modules/func_module.py
@@ -87,13 +87,16 @@ class FuncModule(object):
method_name
@param name: the name of the method
- @retun : list or None
+ @retun : dict(name:[arg1,arg2...]) or {}
"""
- #is it a tuple ?
-
+
if not self.__is_public_valid_method(name):
return {}
+ #we dont need them actually
+ if name in self.__base_methods.keys():
+ return {}
+
arg_names = inspect.getargspec(getattr(self,name))
#arg_names[0] is argument names
#arg_names[1] is *arg