fighting handlers
Eugene Leitl
eugene.leitl@l...
Mon, 2 Apr 2001 18:06:25 +0200 (MET DST)
I've added the following handlers to start_medusa.py :
import script_handler
import persistent
sch = script_handler.script_handler (fs)
ph = script_handler.persistent_script_handler()
ph.add_module ('per', persistent)
hs.install_handler (sch)
hs.install_handler (ph)
However, this knocked out the default status handler:
# Create a status handler. By default it binds to the URI '/status'...
sh = status_handler.status_extension(status_objects)
# ... and install it on the web server.
hs.install_handler (sh)
Since it's quite useful, I wanted to keep it. Is there a way, or is there
just one handler allowed at a time?