Add /etc/darcsweb after '.' in sys.path.
authorAlberto Bertogli <albertito@gmail.com>
local dateSun, 14 Oct 2007 15:42:34
dateSun, 14 Oct 2007 15:42:34
hash20071014154234-57897-b7d29912bbbbe56a9b6572019b246b3bdf47a2fc.gz
Add /etc/darcsweb after '.' in sys.path.


Add it second place, so it goes after '.' but before the normal path. This
allows per-directory config files (desirable for multiple darcsweb
installations on the same machin), and avoids name clashing if there's a
config.py in the standard path.

This was reported by Philipp Kern <pkern@debian.org> in Debian bug 399751
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399751).
1 file(s) changed:
darcsweb.cgi +5 -2