Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed use of "_" in RelaxNGCompact validator which was conflicting wi…

…th gettext tag

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b6ddc9d3c16a028defca175781592325ae1796c8 1 parent 6c127e3
@jacobian jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/validators.py
View
2  django/core/validators.py
@@ -457,7 +457,7 @@ def __call__(self, field_data, all_data):
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:

0 comments on commit b6ddc9d

Please sign in to comment.
Something went wrong with that request. Please try again.