[Mpuls-commits] r2724 - in base/trunk: . mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu May 20 16:01:58 CEST 2010


Author: bh
Date: 2010-05-20 16:01:57 +0200 (Thu, 20 May 2010)
New Revision: 2724

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/lib/renderer.py
Log:
* mpulsweb/lib/renderer.py (tag): Minor documentation fixes.


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-05-20 11:29:34 UTC (rev 2723)
+++ base/trunk/ChangeLog	2010-05-20 14:01:57 UTC (rev 2724)
@@ -1,5 +1,9 @@
 2010-05-20  Bernhard Herzog  <bh at intevation.de>
 
+	* mpulsweb/lib/renderer.py (tag): Minor documentation fixes.
+
+2010-05-20  Bernhard Herzog  <bh at intevation.de>
+
 	* mpulsweb/lib/renderer.py (ViewRenderer._renderRepeatList)
 	(ViewRenderer._renderMatrix, ErrorRenderer.render_items): Use the
 	tag function in more places when rendering HTML tags.

Modified: base/trunk/mpulsweb/lib/renderer.py
===================================================================
--- base/trunk/mpulsweb/lib/renderer.py	2010-05-20 11:29:34 UTC (rev 2723)
+++ base/trunk/mpulsweb/lib/renderer.py	2010-05-20 14:01:57 UTC (rev 2724)
@@ -83,15 +83,16 @@
     The values of string attributes are converted to strings if they are
     not aleady strings (byte-strings or unicode) using these rules: None
     is converted to the empty string, other values are converted using
-    the str function.  After value of string attributes will be properly
-    escaped as attribute values when inserted into the tag.
+    the str function.  After conversion the values of string attributes
+    will be properly escaped as attribute values when inserted into the
+    tag.
 
     Boolean flags are treated differently: if the value of such an
     attribute is true, the attribute is included in the tag without a
     value, if the value is false, the attribute is omitted.  The boolean
     attributes handled in this way are given by the _booleans parameter,
     which is a sequence of attribute names.  Its default value is
-    ('checked', 'disabled', 'selected')
+    ('checked', 'disabled', 'multiple', 'selected')
 
     To allow for attribute names that are also python keywords, a single
     trailing underscore character is removed from an attribute name if



More information about the Mpuls-commits mailing list