summaryrefslogtreecommitdiff
path: root/coverage/collector.py
diff options
context:
space:
mode:
authorRoger Hu <roger.hu@gmail.com>2013-05-25 01:31:27 +0000
committerRoger Hu <roger.hu@gmail.com>2013-05-25 01:31:27 +0000
commit6f35b133e6c615e28c126975a1698ee669630cff (patch)
treec34f71e8cd1510342fa8481046c8c143380ca341 /coverage/collector.py
parentb33d4557dd46651034bc37030565e6b2a362ee6c (diff)
downloadpython-coveragepy-git-6f35b133e6c615e28c126975a1698ee669630cff.tar.gz
Make UTF-8 detection more robust.
If the 1st line of the Python is blank/empty, the function assumes that the encoding is 'ascii' and doesn't try for the 2nd line.
Diffstat (limited to 'coverage/collector.py')
0 files changed, 0 insertions, 0 deletions