[ZPT] CVS: Packages/TAL - TALGenerator.py:1.41
fred@digicool.com
fred@digicool.com
Fri, 8 Jun 2001 15:17:05 -0400 (EDT)
Update of /cvs-repository/Packages/TAL
In directory korak.digicool.com:/tmp/cvs-serv20307
Modified Files:
TALGenerator.py
Log Message:
Use string concatenation where that's simpler and faster than
sprintf-style formatting.
--- Updated File TALGenerator.py in package Packages/TAL --
--- TALGenerator.py 2001/06/08 14:18:17 1.40
+++ TALGenerator.py 2001/06/08 19:17:04 1.41
@@ -163,7 +163,7 @@
if len(item) > 2:
return 0
if item[1] is None:
- new.append(" %s" % item[0])
+ new.append(" " + item[0])
else:
new.append(" %s=%s" % (item[0], quote(item[1])))
new.append(end)