[Mpuls-commits] r1829 - wasko/branches/2.0/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Feb 26 08:48:17 CET 2010


Author: torsten
Date: 2010-02-26 08:48:14 +0100 (Fri, 26 Feb 2010)
New Revision: 1829

Modified:
   wasko/branches/2.0/mpulsweb/controllers/case.py
Log:
* mpulsweb/controllers/case.py (CaseController.markForAnonymize), 
(CaseController.anonymize): Call new check_anonymizeability() method.


Modified: wasko/branches/2.0/mpulsweb/controllers/case.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/case.py	2010-02-26 07:46:07 UTC (rev 1828)
+++ wasko/branches/2.0/mpulsweb/controllers/case.py	2010-02-26 07:48:14 UTC (rev 1829)
@@ -150,7 +150,7 @@
 
         # First check if the case is in a state which allows anonymization 
         try:
-            case.check_consistence()
+            case.check_anonymizeability()
         except ConsistenceCheckException, e:
             c.dialog_title =  MARKANONYMIZE_FAILED
             c.dialog_text  =  e.value 
@@ -186,7 +186,7 @@
 
         # First check if the case is in a state which allows anonymization 
         try:
-            case.check_consistence()
+            case.check_anonymizeability()
         except ConsistenceCheckException, e:
             c.dialog_title =  MARKANONYMIZE_FAILED
             c.dialog_text  =  e.value 



More information about the Mpuls-commits mailing list