[mod_python] Re: Module importing with mod_vampire

Graham Dumpleton grahamd at dscpl.com.au
Wed Jul 12 18:02:19 EDT 2006


apocalypznow wrote ..
> Oops, solved it.
> Instead of using: ticket = vampire.importModule("ticket", 
> path=["/some/directory"])
> I am using: ticket = vampire.importModule("ticket", path="/some/directory")
> which fixed the problem.

Yeah, sorry. Got myself confused with apache.import_module() which
takes a list of directories whereas in Vampire the module importer
takes a single directory as string.

Graham


More information about the Mod_python mailing list