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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user