[Mpuls-commits] r172 - in waska/trunk: . waskaweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Sep 18 14:32:58 CEST 2008


Author: torsten
Date: 2008-09-18 14:32:57 +0200 (Thu, 18 Sep 2008)
New Revision: 172

Modified:
   waska/trunk/ChangeLog.txt
   waska/trunk/waskaweb/lib/evaluation.py
Log:
Fixed phases in evaluation


Modified: waska/trunk/ChangeLog.txt
===================================================================
--- waska/trunk/ChangeLog.txt	2008-09-17 15:19:33 UTC (rev 171)
+++ waska/trunk/ChangeLog.txt	2008-09-18 12:32:57 UTC (rev 172)
@@ -1,3 +1,10 @@
+2008-09-18	Torsten Irlaender  <torsten.irlaender at intevation.de>
+
+	Fixed phases in evaluation
+
+	* waskaweb/lib/evaluation.py: Changed phases indication cm-cases and
+	informational cases.
+
 2008-09-17	Torsten Irlaender  <torsten.irlaender at intevation.de>
 
 	Modified checks on determining if a case can be anonymized

Modified: waska/trunk/waskaweb/lib/evaluation.py
===================================================================
--- waska/trunk/waskaweb/lib/evaluation.py	2008-09-17 15:19:33 UTC (rev 171)
+++ waska/trunk/waskaweb/lib/evaluation.py	2008-09-18 12:32:57 UTC (rev 172)
@@ -62,7 +62,7 @@
                 self.total_valid = c1.fetchone()[0]
 
                 # All "beratungsfälle" (valid)
-                c1.execute("""SELECT count(id) from master_tbl_eval_total_view m WHERE phase IN (0,1,5,6) AND %s""" % self.where_clause(self.compressed_ids))
+                c1.execute("""SELECT count(id) from master_tbl_eval_total_view m WHERE phase IN (0,1,6,7) AND %s""" % self.where_clause(self.compressed_ids))
                 self.total_valid_beratung = c1.fetchone()[0]
 
                 # All "cm-fälle" (valid)



More information about the Mpuls-commits mailing list