Make these byte strings explicitly byte strings

This commit is contained in:
Jean-Paul Calderone 2021-03-17 15:21:22 -04:00
parent 84cc7c5b84
commit b879314194
2 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ class FakeTransport(object):
disconnecting = False
class DeepCheckOutput(LineOnlyReceiver, object):
delimiter = "\n"
delimiter = b"\n"
def __init__(self, streamer, options):
self.streamer = streamer
self.transport = FakeTransport()
@ -181,7 +181,7 @@ class DeepCheckOutput(LineOnlyReceiver, object):
% (self.num_objects, self.files_healthy, self.files_unhealthy), file=stdout)
class DeepCheckAndRepairOutput(LineOnlyReceiver, object):
delimiter = "\n"
delimiter = b"\n"
def __init__(self, streamer, options):
self.streamer = streamer
self.transport = FakeTransport()

View File

@ -13,7 +13,7 @@ class FakeTransport(object):
disconnecting = False
class ManifestStreamer(LineOnlyReceiver, object):
delimiter = "\n"
delimiter = b"\n"
def __init__(self):
self.transport = FakeTransport()