[Mpuls-commits] r5577 - base/trunk/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Nov 15 14:23:56 CET 2011


Author: torsten
Date: 2011-11-15 14:23:56 +0100 (Tue, 15 Nov 2011)
New Revision: 5577

Modified:
   base/trunk/mpulsweb/controllers/case.py
   base/trunk/mpulsweb/controllers/case_bundle.py
Log:
Fixed typo


Modified: base/trunk/mpulsweb/controllers/case.py
===================================================================
--- base/trunk/mpulsweb/controllers/case.py	2011-11-15 12:54:46 UTC (rev 5576)
+++ base/trunk/mpulsweb/controllers/case.py	2011-11-15 13:23:56 UTC (rev 5577)
@@ -192,7 +192,7 @@
 
     @checkRole('cm')
     def markForAnonymize(self, id, confirmed):
-        check_feature('case-module', 'anonyize')
+        check_feature('case-module', 'anonymize')
         url = h.url_for(controller='/case', action='digest', id=id)
         return self._markForAnonymize(id, confirmed, url)
 
@@ -364,7 +364,7 @@
 
     @checkRole('admin')
     def anonymize(self, id, confirmed):
-        check_feature('case-module', 'anonyize')
+        check_feature('case-module', 'anonymize')
         id = self._checkInt(id)
         confirmed = self._checkBool(confirmed)
         case = self._loadCase(id)

Modified: base/trunk/mpulsweb/controllers/case_bundle.py
===================================================================
--- base/trunk/mpulsweb/controllers/case_bundle.py	2011-11-15 12:54:46 UTC (rev 5576)
+++ base/trunk/mpulsweb/controllers/case_bundle.py	2011-11-15 13:23:56 UTC (rev 5577)
@@ -365,7 +365,7 @@
     # ANONYMIZE
     @checkRole(('cm'))
     def markAnonymize(self, confirmed):
-        check_feature('case-module', 'anonyize')
+        check_feature('case-module', 'anonymize')
         confirmed = self._checkBool(confirmed)
         c.context = "../main.mako"
         case_bundle = session.get('casebundle')
@@ -447,7 +447,7 @@
     @checkRole(('admin'))
     def anonymize(self, confirmed):
         # check if feature is enabled or raise execption
-        check_feature('case-module', 'anonyize')
+        check_feature('case-module', 'anonymize')
         confirmed = self._checkBool(confirmed)
         c.context = "../main.mako"
         case_bundle = session.get('casebundle')



More information about the Mpuls-commits mailing list