projects
/
tools
/
python-coverage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d53bc4d
)
python-coverage-3.5.3-pickle
author
Markus Lehtonen
<markus.lehtonen@linux.intel.com>
Thu, 29 Aug 2013 09:57:42 +0000
(12:57 +0300)
committer
Markus Lehtonen
<markus.lehtonen@linux.intel.com>
Thu, 29 Aug 2013 09:57:42 +0000
(12:57 +0300)
# 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
coverage/html.py
patch
|
blob
|
history
diff --git
a/coverage/html.py
b/coverage/html.py
index fffd9b45b41a92352e2adb3f51e6fd781043e491..a9fc714ebb4725fa0b54a096fd89b7d403e15650 100644
(file)
--- 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