[Greater-commits] r265 - trunk/GREAT-ER-DB/impl/postgresql/test

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Jun 24 12:51:57 CEST 2011


Author: bricks
Date: 2011-06-24 12:51:57 +0200 (Fri, 24 Jun 2011)
New Revision: 265

Modified:
   trunk/GREAT-ER-DB/impl/postgresql/test/support.py
Log:
Append path to source of GREAT-ER-DB at the end of the sys.path.
This lets the user define the path to pydagreater via the PYTHONPATH
env variable


Modified: trunk/GREAT-ER-DB/impl/postgresql/test/support.py
===================================================================
--- trunk/GREAT-ER-DB/impl/postgresql/test/support.py	2011-06-24 09:36:50 UTC (rev 264)
+++ trunk/GREAT-ER-DB/impl/postgresql/test/support.py	2011-06-24 10:51:57 UTC (rev 265)
@@ -36,9 +36,8 @@
             except ValueError:
                 break
         sys.path.insert(0, dir)
-        sys.path.insert(0, dir_new)
+        sys.path.append(dir_new)
 
-
 def create_temp_dir():
     """Create a temporary directory and return its name.
 



More information about the Greater-commits mailing list