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 39ad960..06ea4c1 100644
--- a/Lib/packaging/command/install_distinfo.py
+++ b/Lib/packaging/command/install_distinfo.py
@@ -104,7 +104,7 @@ class install_distinfo(Command):
'RESOURCES')
logger.info('creating %s', resources_path)
if not self.dry_run:
- with open(resources_path, 'wb') as f:
+ with open(resources_path, 'w') as f:
writer = csv.writer(f, delimiter=',',
lineterminator='\n',
quotechar='"')