summaryrefslogtreecommitdiff
path: root/paste/server.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-05-10 22:20:49 +0000
committerianb <devnull@localhost>2005-05-10 22:20:49 +0000
commita7e4f3302156781f6cec08b69e70a5473a3497cc (patch)
tree43f51a560a9deecba284807629134708ce2c104c /paste/server.py
parent0aeeb6e06a0d19f4bd01be70a792f974d7de74a1 (diff)
downloadpaste-a7e4f3302156781f6cec08b69e70a5473a3497cc.tar.gz
Insert configured paths into the beginning of sys.path
Diffstat (limited to 'paste/server.py')
-rwxr-xr-xpaste/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/server.py b/paste/server.py
index 7121b67..3d9f479 100755
--- a/paste/server.py
+++ b/paste/server.py
@@ -153,7 +153,7 @@ def update_sys_path(paths, verbose):
if path not in sys.path:
if verbose:
print 'Adding %s to path' % path
- sys.path.append(path)
+ sys.path.insert(0, path)
def help():
program = sys.argv[0]