summaryrefslogtreecommitdiff
path: root/django/http
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2017-08-24 01:48:29 +0500
committerTim Graham <timograham@gmail.com>2017-08-23 16:48:29 -0400
commitf2b93b509c174ba5e2c82fc4e88537bad0996577 (patch)
tree6dc5e6c157bf907e6c829e5a8e53cd12b2325061 /django/http
parentdca67bb2c27cfa1b23cb6519c544ce467813e0ec (diff)
Removed unneeded iter() calls.
A few of these were unnecessarily added in 2b281cc35ed9d997614ca3c416928d7fabfef1ad.
Diffstat (limited to 'django/http')
-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 17771f7ef6..28eae377a9 100644
--- a/django/http/request.py
+++ b/django/http/request.py
@@ -345,7 +345,7 @@ class HttpRequest:
yield from self
def readlines(self):
- return list(iter(self))
+ return list(self)
class QueryDict(MultiValueDict):