From 3bc0a8cab36a00c6c6f4891d30ee3c30391b0fa9 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 3 Oct 2012 21:09:35 -0400 Subject: Fix #193: The status.dat file written by py2 can't be read by py3 --- coverage/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coverage/html.py') diff --git a/coverage/html.py b/coverage/html.py index b0eff5f..34bf6a6 100644 --- a/coverage/html.py +++ b/coverage/html.py @@ -281,7 +281,7 @@ class HtmlStatus(object): status = pickle.load(fstatus) finally: fstatus.close() - except IOError: + except (IOError, ValueError): usable = False else: usable = True -- cgit v1.2.1