commit
9a21c30ad6
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def tac(dumb_init):
|
||||||
def readall(fd):
|
def readall(fd):
|
||||||
"""read until EOF"""
|
"""read until EOF"""
|
||||||
from os import read
|
from os import read
|
||||||
result = ''
|
result = b''
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
chunk = read(fd, 1 << 10)
|
chunk = read(fd, 1 << 10)
|
||||||
|
|
Loading…
Reference in a new issue