summaryrefslogtreecommitdiff
path: root/django/http/request.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-12 08:52:23 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-12 08:55:06 +0200
commit48ed73fb74213ba9ae2fdcc42d18a5a3e7737fe0 (patch)
tree5cf619600c1e8462f19b340e83ab733beef377bf /django/http/request.py
parent16bdb6b7baf884fad6885db18be78a69a55317a5 (diff)
[3.0.x] Fixed E128, E741 flake8 warnings.
Backport of 0668164b4ac93a5be79f5b87fae83c657124d9ab from master.
Diffstat (limited to 'django/http/request.py')
-rw-r--r--django/http/request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/http/request.py b/django/http/request.py
index 98a51f57c8..156d525df8 100644
--- a/django/http/request.py
+++ b/django/http/request.py
@@ -338,7 +338,7 @@ class HttpRequest:
def close(self):
if hasattr(self, '_files'):
- for f in chain.from_iterable(l[1] for l in self._files.lists()):
+ for f in chain.from_iterable(list_[1] for list_ in self._files.lists()):
f.close()
# File-like and iterator interface.