[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ Collector #1954: DocumentTemplate.DT_String: remove non-XHTML wart from error message.

Tres Seaver tseaver at palladion.com
Tue Nov 22 09:57:03 EST 2005


Log message for revision 40315:
  Collector #1954: DocumentTemplate.DT_String:  remove non-XHTML wart from error message.
  
  

Changed:
  U   Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
  U   Zope/branches/Zope-2_8-branch/lib/python/DocumentTemplate/DT_String.py

-=-
Modified: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
===================================================================
--- Zope/branches/Zope-2_8-branch/doc/CHANGES.txt	2005-11-22 13:21:47 UTC (rev 40314)
+++ Zope/branches/Zope-2_8-branch/doc/CHANGES.txt	2005-11-22 14:57:02 UTC (rev 40315)
@@ -26,6 +26,9 @@
 
     Bugs Fixed
 
+      - Collector #1954: DocumentTemplate.DT_String:  remove non-XHTML
+        wart from error message.
+
       - Fixed unclear security declarations. Warn when an attempt is
         made to have a security declaration on a nonexistent method.
 

Modified: Zope/branches/Zope-2_8-branch/lib/python/DocumentTemplate/DT_String.py
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/DocumentTemplate/DT_String.py	2005-11-22 13:21:47 UTC (rev 40314)
+++ Zope/branches/Zope-2_8-branch/lib/python/DocumentTemplate/DT_String.py	2005-11-22 14:57:02 UTC (rev 40315)
@@ -57,7 +57,7 @@
 
     parse_error__roles__=()
     def parse_error(self, mess, tag, text, start):
-        raise ParseError, "%s, for tag %s, on line %s of %s<p>" % (
+        raise ParseError, "%s, for tag %s, on line %s of %s" % (
             mess, self.errQuote(tag), len(text[:start].split('\n')),
             self.errQuote(self.__name__))
 



More information about the Zope-Checkins mailing list