[Zope-Checkins] SVN: Zope/trunk/lib/python/TAL/TALInterpreter.py Collector #1888: Adjust call to 'engine.translate' to accomodate new signature.

Tres Seaver tseaver at palladion.com
Tue Oct 4 20:15:50 EDT 2005


Log message for revision 38761:
  Collector #1888:  Adjust call to 'engine.translate' to accomodate new signature.

Changed:
  U   Zope/trunk/lib/python/TAL/TALInterpreter.py

-=-
Modified: Zope/trunk/lib/python/TAL/TALInterpreter.py
===================================================================
--- Zope/trunk/lib/python/TAL/TALInterpreter.py	2005-10-05 00:14:42 UTC (rev 38760)
+++ Zope/trunk/lib/python/TAL/TALInterpreter.py	2005-10-05 00:15:49 UTC (rev 38761)
@@ -532,7 +532,7 @@
         if isinstance(text, I18nMessageTypes):
             # Translate this now.
             text = self.engine.translate(text.domain, text, 
-                                         text.mapping, text.default)
+                                         text.mapping, default=text.default)
         s = cgi.escape(text)
         self._stream_write(s)
         i = s.rfind('\n')



More information about the Zope-Checkins mailing list