Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed u prefix on a unicode string.

  • Loading branch information...
commit 4ceb9db9d849905720a1c958a5f8629753ef6604 1 parent 1af0271
Aymeric Augustin authored July 21, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/core/urlresolvers.py
2  django/core/urlresolvers.py
@@ -167,7 +167,7 @@ def regex(self):
167 167
                 compiled_regex = re.compile(regex, re.UNICODE)
168 168
             except re.error, e:
169 169
                 raise ImproperlyConfigured(
170  
-                    u'"%s" is not a valid regular expression: %s' %
  170
+                    '"%s" is not a valid regular expression: %s' %
171 171
                     (regex, unicode(e)))
172 172
 
173 173
             self._regex_dict[language_code] = compiled_regex

2 notes on commit 4ceb9db

Gilson Filho

Because retired?

Simon Charette
Owner

@gilsondev the module import unicode_literals.

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