[Mpuls-commits] r3374 - in jmd/trunk: . jmdweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Aug 11 12:03:11 CEST 2010


Author: bh
Date: 2010-08-11 12:03:04 +0200 (Wed, 11 Aug 2010)
New Revision: 3374

Modified:
   jmd/trunk/ChangeLog
   jmd/trunk/jmdweb/model/struktur.py
Log:
* jmdweb/model/struktur.py: Import session from mpulsweb.lib.base
instead of from pylons in order to adapt to new mpuls conventions
that will allow us to keep the session data for the two different
MPuls applications more separate.


Modified: jmd/trunk/ChangeLog
===================================================================
--- jmd/trunk/ChangeLog	2010-08-11 09:54:34 UTC (rev 3373)
+++ jmd/trunk/ChangeLog	2010-08-11 10:03:04 UTC (rev 3374)
@@ -1,3 +1,10 @@
+2010-08-11  Bernhard Herzog  <bh at intevation.de>
+
+	* jmdweb/model/struktur.py: Import session from mpulsweb.lib.base
+	instead of from pylons in order to adapt to new mpuls conventions
+	that will allow us to keep the session data for the two different
+	MPuls applications more separate.
+
 2010-08-10  Bernhard Herzog  <bh at intevation.de>
 
 	* jmdweb/controllers/jmdstruktur.py: Removed unused imports

Modified: jmd/trunk/jmdweb/model/struktur.py
===================================================================
--- jmd/trunk/jmdweb/model/struktur.py	2010-08-11 09:54:34 UTC (rev 3373)
+++ jmd/trunk/jmdweb/model/struktur.py	2010-08-11 10:03:04 UTC (rev 3374)
@@ -26,11 +26,12 @@
 # Authors:
 # Bernhard Herzog <bh at intevation.de>
 
-from pylons import config, session
+from pylons import config
 
 from mpulsweb.lib.db import DB
 from mpulsweb.lib.security import get_db_parameters, getDbName
 from mpulsweb.model.user import UserListObject, parse_dblogin
+from mpulsweb.lib.base import session
 
 
 def struktur_part_available():



More information about the Mpuls-commits mailing list