diff options
author | Ned Batchelder <nedbat@gmail.com> | 2016-12-18 09:30:27 -0500 |
---|---|---|
committer | Ned Batchelder <nedbat@gmail.com> | 2016-12-18 09:30:27 -0500 |
commit | b11cc45af98117dc2be62c31db9fb7c083b3e3c1 (patch) | |
tree | 1e94dbe693018384615629f9656fdd603b41cb26 /coverage | |
parent | 8ea587ab6a390051153bc8465040025f28cea79b (diff) | |
parent | f9063035c3c96a63ebd4041ee7e08a4f3cf4bec4 (diff) | |
download | python-coveragepy-b11cc45af98117dc2be62c31db9fb7c083b3e3c1.tar.gz |
Merged in pebers/coverage.py (pull request #57)
Add support for searching inside .pex archives similarly to .zip and .egg.
Diffstat (limited to 'coverage')
-rw-r--r-- | coverage/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/python.py b/coverage/python.py index 601318c..c3ca0e1 100644 --- a/coverage/python.py +++ b/coverage/python.py @@ -75,7 +75,7 @@ def get_zip_bytes(filename): an empty string if the file is empty. """ - markers = ['.zip'+os.sep, '.egg'+os.sep] + markers = ['.zip'+os.sep, '.egg'+os.sep, '.pex'+os.sep] for marker in markers: if marker in filename: parts = filename.split(marker) |