0
0
mirror of https://github.com/django/django.git synced 2024-11-30 07:06:18 +01:00

Removed u prefix on a unicode string.

This commit is contained in:
Aymeric Augustin 2012-07-21 22:38:25 +02:00
parent 1af0271d7c
commit 4ceb9db9d8

View File

@ -167,7 +167,7 @@ class LocaleRegexProvider(object):
compiled_regex = re.compile(regex, re.UNICODE)
except re.error, e:
raise ImproperlyConfigured(
u'"%s" is not a valid regular expression: %s' %
'"%s" is not a valid regular expression: %s' %
(regex, unicode(e)))
self._regex_dict[language_code] = compiled_regex