fix --dump-timing= on py3, wants a text-mode file

This commit is contained in:
Brian Warner 2016-05-25 22:06:26 -07:00
parent 06d2a0be68
commit de627ccbef

View File

@ -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,