1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

Fixed flake8 warnings on Python 3.

This commit is contained in:
Tim Graham
2015-06-15 10:37:14 -04:00
parent ccfb5c7408
commit 47fcbe506c
7 changed files with 17 additions and 12 deletions

View File

@@ -285,7 +285,7 @@ class LazyObject(object):
__bool__ = new_method_proxy(bool)
else:
__str__ = new_method_proxy(str)
__unicode__ = new_method_proxy(unicode)
__unicode__ = new_method_proxy(unicode) # NOQA: unicode undefined on PY3
__nonzero__ = new_method_proxy(bool)
# Introspection support