[Mpuls-commits] r3954 - in base/trunk: . mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 8 22:14:32 CEST 2010


Author: bh
Date: 2010-10-08 22:14:31 +0200 (Fri, 08 Oct 2010)
New Revision: 3954

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/controllers/evaluate.py
Log:
* mpulsweb/controllers/evaluate.py: Minor stylistic fixes.


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-10-08 20:10:46 UTC (rev 3953)
+++ base/trunk/ChangeLog	2010-10-08 20:14:31 UTC (rev 3954)
@@ -1,5 +1,9 @@
 2010-10-08  Bernhard Herzog  <bh at intevation.de>
 
+	* mpulsweb/controllers/evaluate.py: Minor stylistic fixes.
+
+2010-10-08  Bernhard Herzog  <bh at intevation.de>
+
 	* mpulsweb/controllers/evaluate.py
 	(EvaluateController.evaluateAction): Store the form parameters in
 	session['evaluation.options'].  This finally implements

Modified: base/trunk/mpulsweb/controllers/evaluate.py
===================================================================
--- base/trunk/mpulsweb/controllers/evaluate.py	2010-10-08 20:10:46 UTC (rev 3953)
+++ base/trunk/mpulsweb/controllers/evaluate.py	2010-10-08 20:14:31 UTC (rev 3954)
@@ -15,7 +15,7 @@
 from mpulsweb.lib.db import db
 from mpulsweb.lib.helpers import format_date
 from mpulsweb.lib.validators import EvaluationFormValidator
-from mpulsweb.model.phase import PhaseFactory  
+from mpulsweb.model.phase import PhaseFactory
 
 
 log = logging.getLogger(__name__)
@@ -110,9 +110,8 @@
             c.adele_evaluation = True
         else:
             c.adele_evaluation = False
-            pass
 
-        c.phases = PhaseFactory().build() 
+        c.phases = PhaseFactory().build()
         defaults = EvaluationFormValidator().from_python(evaloptions)
         form = render('/evaluation/evaluate.mako')
         return formencode.htmlfill.render(form, defaults=defaults,



More information about the Mpuls-commits mailing list