diff options
Diffstat (limited to 'Lib/packaging/util.py')
-rw-r--r-- | Lib/packaging/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/util.py b/Lib/packaging/util.py index 348e3cd14a..058f13e334 100644 --- a/Lib/packaging/util.py +++ b/Lib/packaging/util.py @@ -1201,7 +1201,7 @@ def egginfo_to_distinfo(record_file, installer=_DEFAULT_INSTALLER, if requested: requested_path = distinfo['requested_path'] logger.info('creating %s', requested_path) - open(requested_path, 'w').close() + open(requested_path, 'wb').close() distinfo['installed'].append(requested_path) record_path = distinfo['record_path'] |