[mod_python] Module getting imported twice?

Sean Reifschneider jafo at tummy.com
Mon May 24 10:10:04 EDT 2004


On Mon, May 24, 2004 at 10:46:29AM -0400, Gregory (Grisha) Trubetskoy wrote:
>I couldn't quite figure this out - do you actually have more than one
>jotwebutils.py in the sys.path?

No.  As you can see from this:

>>    <module 'jotweb.jotwebutils' from
>>       '/usr/lib/python2.2/site-packages/jotweb/jotwebutils.py'>
>>    <module
>>       '/var/www/jotweb/www.tummy.jotweb.jotwebutils' from
>>       '/usr/lib/python2.2/site-packages/jotweb/jotwebutils.py'>

Both of them were imported from the same file.

Sean
-- 
 Get your data structures correct first, and the rest of the program will
 write itself.  -- David Jones
Sean Reifschneider, Member of Technical Staff <jafo at tummy.com>
tummy.com, ltd. - Linux Consulting since 1995.  Qmail, Python, SysAdmin


More information about the Mod_python mailing list