Hi,

quick question about the path in fcgihandler.py (from 1.77.3).  Is
there any reason that:

path = os.path.dirname(os.path.abspath(__file__))
if not path in sys.path:
    sys.path.append(path)
    sys.path.append(os.path.join(path,'site-packages'))

should not be replaced with:

path = os.path.dirname(os.path.abspath(__file__))
if not path in sys.path:
    sys.path.append(path)
if not os.path.join(path, 'site-packages') in sys.path:
    sys.path.append(os.path.join(path,'site-packages'))

I ask because I cd to the web2py directory before starting the handler
in my startup scipt (integrated with cherokee) and noticed that then
that my current directory is on the path, but site-packages never gets
added.

If it's ok to update the handler, i'd like that.  otherwise i'll
change my startup script to not cd before running.

thanks,

christian


-- 
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to