uaiohttpclient: Fix missing name in unreachable example code.

As-written this code is unreachable (return statement two line above),
so this change is really just to make the linter happy.

Found by Ruff checking F821.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
pull/714/head
Angus Gratton 2023-08-09 18:54:57 +10:00 zatwierdzone przez Damien George
rodzic 991ac986fd
commit b46306cc5a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -9,7 +9,7 @@ def print_stream(resp):
print((yield from resp.read()))
return
while True:
line = yield from reader.readline()
line = yield from resp.readline()
if not line:
break
print(line.rstrip())