[Zope3-checkins] CVS: Zope3/src/zope/tal - talgenerator.py:1.9.4.1

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Aug 8 13:56:44 EDT 2003


Update of /cvs-repository/Zope3/src/zope/tal
In directory cvs.zope.org:/tmp/cvs-serv25656/src/zope/tal

Modified Files:
      Tag: srichter-i18n-macro-interaction-branch
	talgenerator.py 
Log Message:
One bug down, one more to go.


=== Zope3/src/zope/tal/talgenerator.py 1.9 => 1.9.4.1 ===
--- Zope3/src/zope/tal/talgenerator.py:1.9	Tue Jul 29 10:15:22 2003
+++ Zope3/src/zope/tal/talgenerator.py	Fri Aug  8 12:56:09 2003
@@ -347,8 +347,6 @@
             assert action == I18N_EXPRESSION
             key, expr = parseSubstitution(expression)
             cexpr = self.compileExpression(expr)
-        # XXX Would key be anything but 'text' or None?
-        assert key in ('text', None)
         self.emit('i18nVariable', varname, program, cexpr)
 
     def emitTranslation(self, msgid, i18ndata):




More information about the Zope3-Checkins mailing list