summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2005-11-22 03:39:39 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2005-11-22 03:39:39 +0000
commitb6ddc9d3c16a028defca175781592325ae1796c8 (patch)
tree88583c1e06ad9cbf7cc7f6d9a4369739a1027238
parent6c127e3883d12f18f23b9db35ab441ba46d6487b (diff)
downloaddjango-b6ddc9d3c16a028defca175781592325ae1796c8.tar.gz
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
-rw-r--r--django/core/validators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/validators.py b/django/core/validators.py
index d1246d8f55..b36f000972 100644
--- a/django/core/validators.py
+++ b/django/core/validators.py
@@ -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: