python test-tty hotfix

This commit is contained in:
Kent Wills 2015-09-10 18:04:33 -07:00
parent df82b84727
commit 7a648c54d1

View file

@ -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)