Merge "Read the log file as binary in zuul_console" into feature/zuulv3

This commit is contained in:
Jenkins 2017-06-30 22:06:14 +00:00 committed by Gerrit Code Review
commit 2ee8b01cd4
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ def daemonize():
class Console(object):
def __init__(self, path):
self.path = path
self.file = open(path)
self.file = open(path, 'rb')
self.stat = os.stat(path)
self.size = self.stat.st_size