[Mpuls-commits] r6163 - wasko/trunk/waskoweb/controllers

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Thu Jan 3 11:23:04 CET 2013


Author: torsten
Date: 2013-01-03 11:23:04 +0100 (Thu, 03 Jan 2013)
New Revision: 6163

Modified:
   wasko/trunk/waskoweb/controllers/evaluate.py
Log:
Issue3538: Import correct session


Modified: wasko/trunk/waskoweb/controllers/evaluate.py
===================================================================
--- wasko/trunk/waskoweb/controllers/evaluate.py	2013-01-03 10:20:39 UTC (rev 6162)
+++ wasko/trunk/waskoweb/controllers/evaluate.py	2013-01-03 10:23:04 UTC (rev 6163)
@@ -1,4 +1,5 @@
-from pylons import session, g
+from pylons import g
+from mpulsweb.lib.base import session
 from mpulsweb.controllers.evaluate import \
      EvaluateController as MpulsEvaluateController, \
      get_common_options, get_session_options, \
@@ -27,7 +28,7 @@
         options["phase"] = g.mpuls_config.get('evaluations', 'adele-phases')
         return options
 
-    def _get_options(self, id, evalconfig, session):
+    def _get_options(self, id, evalconfig):
         # If user selects adele-evaluation render page with different default
         # options and no session options.
         common_options = get_common_options(evalconfig, id,



More information about the Mpuls-commits mailing list