Merge pull request #18 from Yelp/hotfix_python3

python test-tty hotfix
This commit is contained in:
Kent Wills 2015-09-10 18:07:05 -07:00
commit 9a21c30ad6

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)