[mod_python] server.register_cleanup

Jay Love jsliv at jslove.org
Sun Dec 31 14:43:34 EST 2000


Hi folks.

I'm having trouble using this function.  It gives me an error and tells 
me that the first argument must be a request object, which it is.

Here's the offending line, from the top of my handler function:

handler(self, req):
	res.server.register_callback(req, self.cleanup_func)

Any thoughts on what's going wrong?

I'm using Apache 1.3.14, RH 7.0, mod_python 2.6.3

Jay




More information about the Mod_python mailing list