python test-tty hotfix
This commit is contained in:
parent
df82b84727
commit
7a648c54d1
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def tac(dumb_init):
|
|||
def readall(fd):
|
||||
"""read until EOF"""
|
||||
from os import read
|
||||
result = ''
|
||||
result = b''
|
||||
while True:
|
||||
try:
|
||||
chunk = read(fd, 1 << 10)
|
||||
|
|
Loading…
Reference in a new issue