[Mpuls-commits] r2445 - in wasko/branches/2.0: . mpulsweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Apr 21 11:39:39 CEST 2010
Author: roland
Date: 2010-04-21 11:38:20 +0200 (Wed, 21 Apr 2010)
New Revision: 2445
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/mpulsweb/model/case.py
Log:
Wald issue #1419: missing h.literal
Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-04-20 14:12:36 UTC (rev 2444)
+++ wasko/branches/2.0/ChangeLog 2010-04-21 09:38:20 UTC (rev 2445)
@@ -1,3 +1,7 @@
+2010-04-21 Roland Geider <roland.geider at intevation.de>
+
+ * mpulsweb/model/case.py: Wald issue #1419: missing h.literal
+
2010-04-20 Torsten Irländer <torsten.irlaender at intevation.de>
* INSTALL: Added some more information on installation
Modified: wasko/branches/2.0/mpulsweb/model/case.py
===================================================================
--- wasko/branches/2.0/mpulsweb/model/case.py 2010-04-20 14:12:36 UTC (rev 2444)
+++ wasko/branches/2.0/mpulsweb/model/case.py 2010-04-21 09:38:20 UTC (rev 2445)
@@ -39,7 +39,7 @@
from formed.instance.backends.postgres import DBFactory as InstanceFactory
from formed.instance.tree import SetDataException
-from mpulsweb.lib.base import g, session
+from mpulsweb.lib.base import g, h, session
from mpulsweb.lib.anonymize import determineAnonymizedCaseEndPhase
from mpulsweb.lib.helpers import ensure_unicode
from mpulsweb.lib.db import PostgresDBInterface, db
@@ -674,8 +674,8 @@
desc = g.mpuls_config.get('phases',
'description')[0].get(phasepart.phase)
if not phasepart.is_anonymizable():
- raise ConsistenceCheckException(MARKANONYMIZE_FAILED_MIN_PHASE
- % desc)
+ raise ConsistenceCheckException(h.literal(MARKANONYMIZE_FAILED_MIN_PHASE
+ % desc))
#Check consistence
self.check_consistence(fields)
More information about the Mpuls-commits
mailing list