diff options
author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2005-11-22 03:39:39 +0000 |
---|---|---|
committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2005-11-22 03:39:39 +0000 |
commit | b6ddc9d3c16a028defca175781592325ae1796c8 (patch) | |
tree | 88583c1e06ad9cbf7cc7f6d9a4369739a1027238 | |
parent | 6c127e3883d12f18f23b9db35ab441ba46d6487b (diff) | |
download | django-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.py | 2 |
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: |