Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed u prefix on a unicode string.

  • Loading branch information...
commit 4ceb9db9d849905720a1c958a5f8629753ef6604 1 parent 1af0271
@aaugustin aaugustin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/urlresolvers.py
View
2  django/core/urlresolvers.py
@@ -167,7 +167,7 @@ def regex(self):
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

2 comments on commit 4ceb9db

@gilsondev

Because retired?

@charettes
Collaborator

@gilsondev the module import unicode_literals.

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