changeset 4305:c067ef841a5c

Put the inserted path in front (shield against too old versions available in some *nix distributions)
author Florian Krupicka <florian.krupicka@googlemail.com>
date Thu, 14 Aug 2008 16:13:56 +0200
parents d4917074d0ce
children d289ebf95f8f
files MoinMoin/web/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/web/__init__.py	Thu Aug 14 00:59:53 2008 +0200
+++ b/MoinMoin/web/__init__.py	Thu Aug 14 16:13:56 2008 +0200
@@ -25,7 +25,7 @@
             found = True
             break
     if not found:
-        sys.path.append(dirname)
+        sys.path.insert(0, dirname)
 
 try:
     _fixup_deps()