diff options
Diffstat (limited to 'coverage/pickle2json.py')
-rw-r--r-- | coverage/pickle2json.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/pickle2json.py b/coverage/pickle2json.py index 3d7fc6a..95b42ef 100644 --- a/coverage/pickle2json.py +++ b/coverage/pickle2json.py @@ -21,7 +21,7 @@ def pickle2json(infile, outfile): covdata = CoverageData() with open(infile, 'rb') as inf: - covdata.read(inf) + covdata.read_fileobj(inf) covdata.write_file(outfile) finally: |