Kaydet (Commit) b6ddc9d3 authored tarafından Jacob Kaplan-Moss's avatar Jacob Kaplan-Moss

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
üst 6c127e38
......@@ -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:
......
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