[Zope-Checkins] CVS: Zope/lib/python/TAL - ITALES.py:1.4
Fred L. Drake, Jr.
fred@zope.com
Mon, 7 Apr 2003 14:45:45 -0400
Update of /cvs-repository/Zope/lib/python/TAL
In directory cvs.zope.org:/tmp/cvs-serv27552
Modified Files:
ITALES.py
Log Message:
- add "default" argument for ITALESEngine.translate()
- normalize whitespace
=== Zope/lib/python/TAL/ITALES.py 1.3 => 1.4 ===
--- Zope/lib/python/TAL/ITALES.py:1.3 Wed Oct 9 10:40:33 2002
+++ Zope/lib/python/TAL/ITALES.py Mon Apr 7 14:45:45 2003
@@ -135,14 +135,14 @@
"""
"""
- def translate(domain, msgid, mapping):
+ def translate(domain, msgid, mapping, default=None):
"""
See ITranslationService.translate()
"""
class ITALESErrorInfo(Interface):
-
+
type = Attribute("type",
"The exception class.")