diff options
author | Roger Hu <roger.hu@gmail.com> | 2013-05-25 01:31:27 +0000 |
---|---|---|
committer | Roger Hu <roger.hu@gmail.com> | 2013-05-25 01:31:27 +0000 |
commit | dfe83e5fcdb5cc48880fda91d3d78353cb6ce4f7 (patch) | |
tree | a735e19c0d9090daaf169a02104402870005e21f /coverage/files.py | |
parent | f10c94d8509aa7cc178a72def0907e97f60903c8 (diff) | |
download | python-coveragepy-dfe83e5fcdb5cc48880fda91d3d78353cb6ce4f7.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/files.py')
0 files changed, 0 insertions, 0 deletions