diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2013-08-29 12:57:42 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2013-08-29 12:57:42 +0300 |
commit | 2c607e9d3b7dfd6f99d8f9fd8af0a9da6fb5bf3e (patch) | |
tree | d48b895c3b9c4426eff362996b420aad7220ab7c | |
parent | d53bc4d5ff8a41dd63983a39cbf6ec280a7203b5 (diff) | |
download | python-coverage-2c607e9d3b7dfd6f99d8f9fd8af0a9da6fb5bf3e.tar.gz python-coverage-2c607e9d3b7dfd6f99d8f9fd8af0a9da6fb5bf3e.tar.bz2 python-coverage-2c607e9d3b7dfd6f99d8f9fd8af0a9da6fb5bf3e.zip |
python-coverage-3.5.3-pickle
# HG changeset patch
# User Ned Batchelder <ned@nedbatchelder.com>
# Date 1349312975 14400
# Node ID 16020b834643bb8b9953b8d4bcc09691deb549b9
# Parent 70e174f7312c87101b0b5be7ec7dd1acf7869f12
Fix #193: The status.dat file written by py2 can't be read by py3
-rw-r--r-- | coverage/html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/html.py b/coverage/html.py index fffd9b4..a9fc714 100644 --- a/coverage/html.py +++ b/coverage/html.py @@ -244,7 +244,7 @@ class HtmlStatus(object): try: status_file = os.path.join(directory, self.STATUS_FILE) status = pickle.load(open(status_file, "rb")) - except IOError: + except (IOError, ValueError): usable = False else: usable = True |