diff options
| author | Alex Grönholm <alex.gronholm@nextday.fi> | 2021-12-23 12:18:12 +0200 |
|---|---|---|
| committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2021-12-23 12:18:12 +0200 |
| commit | 39a2d5a9d1ab42e077618b65b66e6aeb22541a66 (patch) | |
| tree | 5d97746632bb7457002649bfc3a91eb7687fe8bf /src | |
| parent | 9c538313c5f8a7a6ea1fb1db4bf2af9286f376f6 (diff) | |
| download | wheel-git-39a2d5a9d1ab42e077618b65b66e6aeb22541a66.tar.gz | |
Removed unused function
Diffstat (limited to 'src')
| -rw-r--r-- | src/wheel/pkginfo.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wheel/pkginfo.py b/src/wheel/pkginfo.py index bed016c..9ca2a54 100644 --- a/src/wheel/pkginfo.py +++ b/src/wheel/pkginfo.py @@ -5,12 +5,6 @@ from email.generator import BytesGenerator from email.parser import Parser -def read_pkg_info_bytes(bytestr): - headers = bytestr.decode(encoding="ascii", errors="surrogateescape") - message = Parser().parsestr(headers) - return message - - def read_pkg_info(path): with open(path, encoding="ascii", errors="surrogateescape") as headers: message = Parser().parse(headers) |
