summaryrefslogtreecommitdiff
path: root/coverage/python.py
diff options
context:
space:
mode:
authorPeter Ebden <pebers@thoughtmachine.net>2015-07-13 17:05:40 +0100
committerPeter Ebden <pebers@thoughtmachine.net>2015-07-13 17:05:40 +0100
commit463153d4a32d8a794b6a71f2e09b5a6f929ec704 (patch)
tree13e9fcaca37364b83c0f90a1a91d5378430e31c2 /coverage/python.py
parent20e59fb2eb6a9dcc513e34b56c0e6cb523777ce7 (diff)
downloadpython-coveragepy-git-463153d4a32d8a794b6a71f2e09b5a6f929ec704.tar.gz
Add support for searching inside .pex archives similarly to .zip and .egg.
Diffstat (limited to 'coverage/python.py')
-rw-r--r--coverage/python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/python.py b/coverage/python.py
index b1667f6d..22ca214e 100644
--- a/coverage/python.py
+++ b/coverage/python.py
@@ -63,7 +63,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)