Commit b0b56654 authored by Tres Seaver's avatar Tres Seaver

Forward port fix for Collector #1954 from 2.8 branch.

parent f66a148f
...@@ -57,7 +57,7 @@ class String: ...@@ -57,7 +57,7 @@ class String:
parse_error__roles__=() parse_error__roles__=()
def parse_error(self, mess, tag, text, start): 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')), mess, self.errQuote(tag), len(text[:start].split('\n')),
self.errQuote(self.__name__)) self.errQuote(self.__name__))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment