[Mpuls-commits] r3838 - base/trunk/mpulsweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 1 12:10:33 CEST 2010


Author: torsten
Date: 2010-10-01 12:10:32 +0200 (Fri, 01 Oct 2010)
New Revision: 3838

Modified:
   base/trunk/mpulsweb/model/phase.py
Log:
* mpulsweb/model/phase.py (Phase.getDescription): Return unescaped description of phase.


Modified: base/trunk/mpulsweb/model/phase.py
===================================================================
--- base/trunk/mpulsweb/model/phase.py	2010-10-01 09:04:45 UTC (rev 3837)
+++ base/trunk/mpulsweb/model/phase.py	2010-10-01 10:10:32 UTC (rev 3838)
@@ -11,7 +11,7 @@
 from formed.instance.tree import PageInstanceNode
 from formed.meta.data import PageNode
 
-from mpulsweb.lib.helpers import tag, url_for
+from mpulsweb.lib.helpers import tag, url_for, literal
 from mpulsweb.lib.helper.case import walk_it 
 from mpulsweb.lib.db import PostgresDBInterface
 
@@ -249,7 +249,7 @@
         return t2 - t1
 
     def getDescription(self):
-        return self.description
+        return literal(self.description)
 
     def isRunning(self):
         return self.start.is_active()



More information about the Mpuls-commits mailing list