From de627ccbefbb47ed90a3ee0177fe0ac8de9bd963 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 25 May 2016 22:06:26 -0700 Subject: [PATCH] fix --dump-timing= on py3, wants a text-mode file --- src/wormhole/timing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wormhole/timing.py b/src/wormhole/timing.py index 7c16f1d..1699ce7 100644 --- a/src/wormhole/timing.py +++ b/src/wormhole/timing.py @@ -43,7 +43,7 @@ class DebugTiming: return ev def write(self, fn, stderr): - with open(fn, "wb") as f: + with open(fn, "wt") as f: data = [ dict(name=e._name, start=e._start, stop=e._stop, details=e._details,