Commit 4ceb9db9 authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Removed u prefix on a unicode string.

parent 1af0271d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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