[Greater-commits] r3707 - branches/3.0.0-all-models/GREAT-ERModel
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jul 26 16:32:14 CEST 2011
Author: aheinecke
Date: 2011-07-26 16:32:14 +0200 (Tue, 26 Jul 2011)
New Revision: 3707
Modified:
branches/3.0.0-all-models/GREAT-ERModel/start_scheduler.py
branches/3.0.0-all-models/GREAT-ERModel/start_worker.py
Log:
Add Lib to searchpath as a place where third party dependencies can
be placed
Modified: branches/3.0.0-all-models/GREAT-ERModel/start_scheduler.py
===================================================================
--- branches/3.0.0-all-models/GREAT-ERModel/start_scheduler.py 2011-07-26 14:31:47 UTC (rev 3706)
+++ branches/3.0.0-all-models/GREAT-ERModel/start_scheduler.py 2011-07-26 14:32:14 UTC (rev 3707)
@@ -19,6 +19,7 @@
_dir = os.path.abspath(os.path.join(os.path.dirname(GreaterModel.__file__),
os.pardir))
sys.path.append(os.path.join(_dir, "Lib"))
+sys.path.append(os.path.join(_dir, os.pardir, "Lib"))
sys.path.append(os.path.join(_dir, os.pardir, "GREAT-ER-DB"))
import GreaterModel.Scheduler.run
Modified: branches/3.0.0-all-models/GREAT-ERModel/start_worker.py
===================================================================
--- branches/3.0.0-all-models/GREAT-ERModel/start_worker.py 2011-07-26 14:31:47 UTC (rev 3706)
+++ branches/3.0.0-all-models/GREAT-ERModel/start_worker.py 2011-07-26 14:32:14 UTC (rev 3707)
@@ -19,6 +19,7 @@
os.pardir))
sys.path.append(os.path.join(dir, "Lib"))
sys.path.append(os.path.join(dir, os.pardir, "GREAT-ER-DB"))
+sys.path.append(os.path.join(dir, os.pardir, "Lib"))
import GreaterModel.Worker.workerpb
GreaterModel.Worker.workerpb.run()
More information about the Greater-commits
mailing list