Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 6db58c5

Browse files
committed
Remove unneeded check.
1 parent 005e406 commit 6db58c5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

hyper/common/bufsocket.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ def can_read(self):
6767
"""
6868
Whether or not there is more data to read from the socket.
6969
"""
70-
if self._bytes_in_buffer:
71-
return True
72-
7370
read = select.select([self._sck], [], [], 0)[0]
7471
if read:
7572
return True

0 commit comments

Comments
 (0)