diff options
author | Seth Vidal <skvidal@fedoraproject.org> | 2007-09-24 11:45:08 -0400 |
---|---|---|
committer | Seth Vidal <skvidal@fedoraproject.org> | 2007-09-24 11:45:08 -0400 |
commit | a656879954105065b2fabed8f77993387c73f9b6 (patch) | |
tree | 904d37c4c2e4cb98460f2969bb61e0f632e82714 /modules/func_module.py | |
parent | a4680ef456b87d73ccdb6a6a9beba1992ebdd7c6 (diff) | |
parent | 2d1bb13794d1f3e9dfca2047195e5ab368db628b (diff) | |
download | third_party-func-a656879954105065b2fabed8f77993387c73f9b6.tar.gz third_party-func-a656879954105065b2fabed8f77993387c73f9b6.tar.xz third_party-func-a656879954105065b2fabed8f77993387c73f9b6.zip |
Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func
* 'master' of ssh://git.fedoraproject.org/git/hosted/func:
Rename yummod as yum so each module doesn't end up ending in mod :)
Added kill and pkill to the process module
Process module. Accepts flags to PS, returns nicely formatted tabular output.
Added a smolt-based hardware profiler module.
Remove underscores from exported function names as they are now redundant.
update to new calling conventions
Fix up virt code some more.
change to module loader to allow subdirs in the module path.
ignore the build/ dir
Diffstat (limited to 'modules/func_module.py')
-rwxr-xr-x | modules/func_module.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/func_module.py b/modules/func_module.py index ec587c1..4bb06d2 100755 --- a/modules/func_module.py +++ b/modules/func_module.py @@ -35,9 +35,9 @@ class FuncModule(object): log = logger.Logger() self.logger = log.logger - def register_rpc(self, handlers): + def register_rpc(self, handlers, module_name): for meth in self.methods: - handlers[meth] = self.methods[meth] + handlers["%s.%s" % (module_name,meth)] = self.methods[meth] |