From d75901d01e9d35b0cc4d347ec69ab16615b30cab 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 b0eff5f2..34bf6a61 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