mirror of
https://github.com/django/django.git
synced 2025-09-18 08:20:10 +00:00
Fixed flake8 warnings on Python 3.
This commit is contained in:
parent
ccfb5c7408
commit
47fcbe506c
7 changed files with 17 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue