[Mpuls-commits] r2379 - wasko/branches/2.0/mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Apr 15 16:17:32 CEST 2010


Author: torsten
Date: 2010-04-15 16:17:30 +0200 (Thu, 15 Apr 2010)
New Revision: 2379

Modified:
   wasko/branches/2.0/mpulsweb/lib/renderer.py
Log:
Fixed sting quoting.


Modified: wasko/branches/2.0/mpulsweb/lib/renderer.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/renderer.py	2010-04-15 14:12:47 UTC (rev 2378)
+++ wasko/branches/2.0/mpulsweb/lib/renderer.py	2010-04-15 14:17:30 UTC (rev 2379)
@@ -432,10 +432,10 @@
             out.append('</td>')
             out.append('<td class="vcontrol" width="15">')
             if not self.ro_mode:
-                out.append('<input name="del_rg" 
+                out.append('''<input name="del_rg" 
                             type="image" 
                             src="/images/icons/delete_active_16.png" 
-                            value="%s">' % child.getIdentifier())
+                            value="%s">''' % child.getIdentifier())
             out.append('</td>')
             out.append('</tr>')
         if self.ro_mode:
@@ -445,10 +445,10 @@
             out.append('<tr>')
             out.append('<td class="hcontrol" style="text-align: right;"'
                        ' colspan="2">')
-            out.append('<input width="16" 
+            out.append('''<input width="16" 
                         name="add_rg" 
                         type="image" src="/images/icons/new_16.png" 
-                        value="%s">' % node.getIdentifier())
+                        value="%s">''' % node.getIdentifier())
             out.append("</td>")
             out.append("</tr>")
         return out



More information about the Mpuls-commits mailing list