[Zope3-checkins] CVS: Zope3/src/zope/tal - talinterpreter.py:1.10

Fred L. Drake, Jr. fred@zope.com
Fri, 4 Apr 2003 15:40:15 -0500


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

Modified Files:
	talinterpreter.py 
Log Message:
- remove some unused code, re-wrap a comment


=== Zope3/src/zope/tal/talinterpreter.py 1.9 => 1.10 ===
--- Zope3/src/zope/tal/talinterpreter.py:1.9	Thu Apr  3 14:42:08 2003
+++ Zope3/src/zope/tal/talinterpreter.py	Fri Apr  4 15:40:15 2003
@@ -549,14 +549,8 @@
         #
         #     <span>default text</span>
         assert xlated_msgid is not None
-##        if xlated_msgid is None:
-##            s = default or msgid
-##            # log that an unknown id was found
-##            logging.warn('TAL/i18n: Message id %s was not found in the '
-##                         'translation table; using default text: %s' %
-##                         (msgid, default))
-        # If there are i18n variables to interpolate into this string, better
-        # do it now.
+        # If there are i18n variables to interpolate into this string,
+        # better do it now.
         self._stream_write(xlated_msgid)
     bytecode_handlers['insertTranslation'] = do_insertTranslation