[Zope3-checkins] CVS: Zope3/src/zope/tal - talgenerator.py:1.9
Fred L. Drake, Jr.
fred@zope.com
Tue, 29 Jul 2003 10:15:27 -0400
Update of /cvs-repository/Zope3/src/zope/tal
In directory cvs.zope.org:/tmp/cvs-serv27335
Modified Files:
talgenerator.py
Log Message:
- standardize docstring
- wrap a long line
=== Zope3/src/zope/tal/talgenerator.py 1.8 => 1.9 ===
--- Zope3/src/zope/tal/talgenerator.py:1.8 Tue Jul 22 08:37:28 2003
+++ Zope3/src/zope/tal/talgenerator.py Tue Jul 29 10:15:22 2003
@@ -11,8 +11,9 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
-Code generator for TALInterpreter intermediate code.
+"""Code generator for TALInterpreter intermediate code.
+
+$Id$
"""
import cgi
@@ -657,8 +658,9 @@
for key, value in repldict.items():
if i18nattrs.get(key, None):
raise I18NError(
- "attribute [%s] cannot both be part of tal:attributes and have a msgid in i18n:attributes" % key,
- position)
+ "attribute [%s] cannot both be part of tal:attributes"
+ " and have a msgid in i18n:attributes" % key,
+ position)
ce = self.compileExpression(value)
repldict[key] = ce, key in i18nattrs, i18nattrs.get(key)
for key in i18nattrs: