[snowy] Prefer bundled python libs when system copies exist



commit 1b32dbb826d807c2076eafe274a3cdac877a07a0
Author: Jeff Schroeder <jeffschroeder computer org>
Date:   Mon Jan 3 21:29:29 2011 -0800

    Prefer bundled python libs when system copies exist
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=638149

 settings.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/settings.py b/settings.py
index 835d687..8c4bb65 100644
--- a/settings.py
+++ b/settings.py
@@ -117,7 +117,7 @@ TEMPLATE_DIRS = [
 EXTERNAL_APPS_PATH = os.path.join(PROJECT_ROOT, "lib")
 
 import sys
-sys.path.append(EXTERNAL_APPS_PATH)
+sys.path.insert(0, EXTERNAL_APPS_PATH)
 
 INSTALLED_APPS = [
     # Local apps



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]