summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2008-01-15 18:12:35 -0500
committerLuke Macken <lmacken@redhat.com>2008-01-15 18:12:35 -0500
commita433b0073efcbeb2028dceed5105cc40f5936ddf (patch)
tree5b19642eceb8dfbc0f71c1cf93e2cb396d1453a2 /func
parent5d7f93adae47ae2aa137f3f44fb077ed26ed9012 (diff)
downloadthird_party-func-a433b0073efcbeb2028dceed5105cc40f5936ddf.tar.gz
third_party-func-a433b0073efcbeb2028dceed5105cc40f5936ddf.tar.xz
third_party-func-a433b0073efcbeb2028dceed5105cc40f5936ddf.zip
Don't expose FuncModule.register_rpc
Diffstat (limited to 'func')
-rw-r--r--func/minion/modules/func_module.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/func/minion/modules/func_module.py b/func/minion/modules/func_module.py
index c911b91..99758f9 100644
--- a/func/minion/modules/func_module.py
+++ b/func/minion/modules/func_module.py
@@ -49,7 +49,8 @@ class FuncModule(object):
# register all methods that don't start with an underscore
for attr in dir(self):
- if inspect.ismethod(getattr(self, attr)) and attr[0] != '_':
+ if inspect.ismethod(getattr(self, attr)) and attr[0] != '_' and \
+ attr != 'register_rpc':
handlers["%s.%s" % (module_name, attr)] = getattr(self, attr)
def __list_methods(self):