Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed python3 breakage introduced by c0a2388.

  • Loading branch information...
commit bdca4944647a734fab592ab08c6311e365231287 1 parent da235c9
Baptiste Mispelon authored November 04, 2013

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

  1. 2  django/utils/translation/trans_real.py
2  django/utils/translation/trans_real.py
@@ -202,7 +202,7 @@ def activate(language):
202 202
     language and installs it as the current translation object for the current
203 203
     thread.
204 204
     """
205  
-    if isinstance(language, basestring):
  205
+    if isinstance(language, six.string_types):
206 206
         if language == 'zh-cn':
207 207
             warnings.warn(
208 208
                 "The use of the language code 'zh-cn' is deprecated. "

0 notes on commit bdca494

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