diff options
author | Éric Araujo <merwok@netwok.org> | 2011-10-14 14:58:23 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-10-14 14:58:23 (GMT) |
commit | d139b994266e0fcc90ac30b49dc9cc047c222961 (patch) | |
tree | 66c31cd0b1456ff163c355571d3e41fb9ff92038 /Lib/packaging/command | |
parent | f598d60b452a75af08daa8c868c5e3240e71c15a (diff) | |
download | cpython-d139b994266e0fcc90ac30b49dc9cc047c222961.zip cpython-d139b994266e0fcc90ac30b49dc9cc047c222961.tar.gz cpython-d139b994266e0fcc90ac30b49dc9cc047c222961.tar.bz2 |
Fix writing of the RESOURCES file by packaging (#12386)
Diffstat (limited to 'Lib/packaging/command')
-rw-r--r-- | Lib/packaging/command/install_distinfo.py | 2 |
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='"') |