Commit b6ddc9d3 authored by Jacob Kaplan-Moss's avatar Jacob Kaplan-Moss
Browse files

Fixed use of "_" in RelaxNGCompact validator which was conflicting with gettext tag

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 6c127e38
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -457,7 +457,7 @@ class RelaxNGCompact:
        display_errors = []
        lines = field_data.split('\n')
        for error in errors:
            _, line, level, message = error.split(':', 3)
            ignored, line, level, message = error.split(':', 3)
            # Scrape the Jing error messages to reword them more nicely.
            m = re.search(r'Expected "(.*?)" to terminate element starting on line (\d+)', message)
            if m: