[mod_python] reload() change to import_module()

David Angulo Junk DavidAnguloJunk at gmail.com
Mon Jul 21 13:50:36 EDT 2008


In this setup: Apache/2.2.9 (Unix) mod_python/3.3.1 Python/2.3.4
I have code that does this:

---- start code snippet ----
from mod_python import apache


def handler(req):

    apache.import_module('my_module')
---- start code snippet ----


And I'm getting this error:

    AttributeError: 'module' object has no attribute 'input_module'


Any idea what might be wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20080721/23c4ebaa/attachment.html


More information about the Mod_python mailing list