diff --git a/src/allmydata/scripts/tahoe_check.py b/src/allmydata/scripts/tahoe_check.py index 997ee6e9e..cef9e32be 100644 --- a/src/allmydata/scripts/tahoe_check.py +++ b/src/allmydata/scripts/tahoe_check.py @@ -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() diff --git a/src/allmydata/scripts/tahoe_manifest.py b/src/allmydata/scripts/tahoe_manifest.py index 032c65d51..386cdd1ad 100644 --- a/src/allmydata/scripts/tahoe_manifest.py +++ b/src/allmydata/scripts/tahoe_manifest.py @@ -13,7 +13,7 @@ class FakeTransport(object): disconnecting = False class ManifestStreamer(LineOnlyReceiver, object): - delimiter = "\n" + delimiter = b"\n" def __init__(self): self.transport = FakeTransport()