diff options
| author | Adrian Likins <alikins@redhat.com> | 2007-09-21 16:22:36 -0400 |
|---|---|---|
| committer | Adrian Likins <alikins@redhat.com> | 2007-09-21 16:22:36 -0400 |
| commit | 6d300c03206dd4cef3bd55e6370223d913e16638 (patch) | |
| tree | 5f7e7963036729b597e1cb6a0b59706be0fbae08 /init-scripts/funcd | |
| parent | 9467f2d3b478efe3a92a4531e46f0cb7b3f2f941 (diff) | |
change to module loader to allow subdirs in the module path.
This also implies that methods calls need a module as well
(aka, you now have to call test.test_add instead of just test_add)
but this also means you can setup
modules/foo/bar/blip.py
and blip.py exports a "do_blippy" method, which you would call
by the name
foo.bar.blip.do_blippy()
Note, any subdir that has module files in it, will need an
approriate __init__.py file.
server.py, func_module.py: To do the above, we need to pass
in the module_name to the register function, so we can associate
it correctly.
server.py also got a fix for a FuncException that needed
tobe codes.FuncException
Diffstat (limited to 'init-scripts/funcd')
0 files changed, 0 insertions, 0 deletions
