summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/command/install_distinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/packaging/command/install_distinfo.py')
-rw-r--r--Lib/packaging/command/install_distinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/command/install_distinfo.py b/Lib/packaging/command/install_distinfo.py
index a25a15a..db49236 100644
--- a/Lib/packaging/command/install_distinfo.py
+++ b/Lib/packaging/command/install_distinfo.py
@@ -98,7 +98,7 @@ class install_distinfo(Command):
if self.requested:
requested_path = os.path.join(self.distinfo_dir, 'REQUESTED')
logger.info('creating %s', requested_path)
- open(requested_path, 'w').close()
+ open(requested_path, 'wb').close()
self.outputs.append(requested_path)