Permalink
Browse files

Fixed python3 breakage introduced by c0a2388.

  • Loading branch information...
1 parent da235c9 commit bdca4944647a734fab592ab08c6311e365231287 @bmispelon bmispelon committed Nov 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/utils/translation/trans_real.py
View
2 django/utils/translation/trans_real.py
@@ -202,7 +202,7 @@ def activate(language):
language and installs it as the current translation object for the current
thread.
"""
- if isinstance(language, basestring):
+ if isinstance(language, six.string_types):
if language == 'zh-cn':
warnings.warn(
"The use of the language code 'zh-cn' is deprecated. "

0 comments on commit bdca494

Please sign in to comment.