diff options
| author | ianb <devnull@localhost> | 2005-05-10 22:20:49 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2005-05-10 22:20:49 +0000 |
| commit | a7e4f3302156781f6cec08b69e70a5473a3497cc (patch) | |
| tree | 43f51a560a9deecba284807629134708ce2c104c /paste/server.py | |
| parent | 0aeeb6e06a0d19f4bd01be70a792f974d7de74a1 (diff) | |
| download | paste-a7e4f3302156781f6cec08b69e70a5473a3497cc.tar.gz | |
Insert configured paths into the beginning of sys.path
Diffstat (limited to 'paste/server.py')
| -rwxr-xr-x | paste/server.py | 2 |
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] |
