[ZPT] CVS: Releases/Zope/lib/python/TAL - TALInterpreter.py:1.63

Evan Simpson evan@zope.com
Tue, 23 Oct 2001 16:42:12 -0400


Update of /cvs-repository/Releases/Zope/lib/python/TAL
In directory cvs.zope.org:/tmp/cvs-serv28619

Modified Files:
	TALInterpreter.py 
Log Message:
Write boolean attributes out, like checked="checked".


=== Releases/Zope/lib/python/TAL/TALInterpreter.py 1.62 => 1.63 ===
             if value is None:
                 value = name
-            else:
-                value = "%s=%s" % (name, quote(value))
+            value = "%s=%s" % (name, quote(value))
         return ok, name, value
 
     bytecode_handlers["<attrAction>"] = attrAction