summaryrefslogtreecommitdiff
path: root/django/utils/functional.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-06-15 10:37:14 -0400
committerTim Graham <timograham@gmail.com>2015-06-15 13:01:41 -0400
commit062ce508b0edcb3a2e801d7959e08207bd8d2a1e (patch)
treecde48b14db8ce70cdfb73e787f6c28aaa8bee1a9 /django/utils/functional.py
parent53323a5c23231501a840deb8d2296b0508405d4d (diff)
[1.8.x] Fixed flake8 warnings on Python 3.
Backport of 47fcbe506c04019a12e16221843e25a52249b1ab from master
Diffstat (limited to 'django/utils/functional.py')
-rw-r--r--django/utils/functional.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/functional.py b/django/utils/functional.py
index e3875a2c51..81bcb17b97 100644
--- a/django/utils/functional.py
+++ b/django/utils/functional.py
@@ -310,7 +310,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