[Mpuls-commits] r318 - in wasko/trunk: . waskaweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Mar 3 12:46:22 CET 2009


Author: torsten
Date: 2009-03-03 12:46:20 +0100 (Tue, 03 Mar 2009)
New Revision: 318

Modified:
   wasko/trunk/ChangeLog.txt
   wasko/trunk/waskaweb/model/case.py
Log:
Fixed inconsistency check before anonymization


Modified: wasko/trunk/ChangeLog.txt
===================================================================
--- wasko/trunk/ChangeLog.txt	2009-03-03 11:31:22 UTC (rev 317)
+++ wasko/trunk/ChangeLog.txt	2009-03-03 11:46:20 UTC (rev 318)
@@ -1,3 +1,9 @@
+2009-03-03	Torsten Irlaender  <torsten.irlaender at intevation.de> 
+
+	Fixed check for inkonsistency before anonymization
+
+	* waskaweb/model/case.py: Added missing import of RequiredFields
+
 2009-03-03	Sascha L. Teichmann	<teichmann at intevation.de>
 
 	Initial code to import XML documents. Parses the documents

Modified: wasko/trunk/waskaweb/model/case.py
===================================================================
--- wasko/trunk/waskaweb/model/case.py	2009-03-03 11:31:22 UTC (rev 317)
+++ wasko/trunk/waskaweb/model/case.py	2009-03-03 11:46:20 UTC (rev 318)
@@ -53,6 +53,7 @@
 from waskaweb.model.document import listDocuments 
 
 from waskaweb.model.phase_transition import phase_description
+from waskaweb.model.phases_factory import RequiredFields 
 
 from waskaweb.lib.helpers import dd_mm_yyyy_HH_MM, dd_mm_YYYY
 
@@ -1176,6 +1177,9 @@
                 return False
             elif p2.isRunning() and not p2.isRecursiveComplete():
                 return False 
+
+        #  Deaktiviert, da noch keine weiteren Inkonsistezen geprüft (bekannt
+        #  sind)) werden
         # Check other inconsistency
         # Search all cases with are inconsistent and then check if the current case is among them
         #user = session['USER_AUTHORIZED']



More information about the Mpuls-commits mailing list