diff options
author | Éric Araujo <merwok@netwok.org> | 2011-09-15 16:18:51 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-09-15 16:18:51 (GMT) |
commit | 37ccd6f794539e0678b7a7ad938e571cc73e106c (patch) | |
tree | 0cd580cc92f8921801406a44eb94ff52eb85d852 /Lib/copyreg.py | |
parent | 86ca04ccc72820b3233f0010ad4c6f91208a7e18 (diff) | |
download | cpython-37ccd6f794539e0678b7a7ad938e571cc73e106c.zip cpython-37ccd6f794539e0678b7a7ad938e571cc73e106c.tar.gz cpython-37ccd6f794539e0678b7a7ad938e571cc73e106c.tar.bz2 |
Fix packaging.database.Distribution.list_distinfo_files (#12785).
This method was supposed to return only the file under the dist-info
directory, but it actually returned all installed files.
The tests didn’t catch this because they were flawed; I updated them.
Thanks to Nadeem Vawda and Jeremy Kloth for testing.
As a bonus, the removal of os.path.relpath use should also fix the
Windows buildbots.
Diffstat (limited to 'Lib/copyreg.py')
0 files changed, 0 insertions, 0 deletions