Skip to content

Commit f0b8d9b

Browse files
committed
urequests: Fix stale variable name (line -> l).
1 parent 0552589 commit f0b8d9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

urequests/urequests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ def request(method, url, data=None, json=None, headers={}, stream=None):
8181
l = s.readline()
8282
if not l or l == b"\r\n":
8383
break
84-
#print(line)
84+
#print(l)
8585
if l.startswith(b"Transfer-Encoding:"):
86-
if b"chunked" in line:
86+
if b"chunked" in l:
8787
raise ValueError("Unsupported " + l)
8888
elif l.startswith(b"Location:"):
8989
raise NotImplementedError("Redirects not yet supported")

0 commit comments

Comments
 (0)