prepend instead of appending to sys.path.

The rationale is that planet/vendor contains overrides of whatever the user has
in her local python install.
This commit is contained in:
Santiago Gala 2007-08-06 14:02:38 +02:00
parent 64a3ec8727
commit eec7629402

View File

@ -32,7 +32,7 @@ def getLogger(level, format):
loggerParms = (level,format)
return logger
sys.path.append(os.path.join(os.path.dirname(__file__),'vendor'))
sys.path.insert(0, os.path.join(os.path.dirname(__file__),'vendor'))
# Configure feed parser
import feedparser