diff options
author | Tarek Ziade <tarek@ziade.org> | 2011-05-21 17:45:48 (GMT) |
---|---|---|
committer | Tarek Ziade <tarek@ziade.org> | 2011-05-21 17:45:48 (GMT) |
commit | be20be134555c3a424edbcd1903e6683f0a6ee61 (patch) | |
tree | f0a1531afdc208f6728cfa5789845013a1567925 /Lib/packaging/command | |
parent | fb2473fc8b892291f23152adfa5dcf83cdf7f972 (diff) | |
download | cpython-be20be134555c3a424edbcd1903e6683f0a6ee61.zip cpython-be20be134555c3a424edbcd1903e6683f0a6ee61.tar.gz cpython-be20be134555c3a424edbcd1903e6683f0a6ee61.tar.bz2 |
use the same line terminator everywhere
Diffstat (limited to 'Lib/packaging/command')
-rw-r--r-- | Lib/packaging/command/install_distinfo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/packaging/command/install_distinfo.py b/Lib/packaging/command/install_distinfo.py index db49236..3390a1f 100644 --- a/Lib/packaging/command/install_distinfo.py +++ b/Lib/packaging/command/install_distinfo.py @@ -110,7 +110,7 @@ class install_distinfo(Command): logger.info('creating %s', resources_path) with open(resources_path, 'wb') as f: writer = csv.writer(f, delimiter=',', - lineterminator=os.linesep, + lineterminator='\n', quotechar='"') for tuple in install_data.get_resources_out(): writer.writerow(tuple) @@ -122,7 +122,7 @@ class install_distinfo(Command): logger.info('creating %s', record_path) with open(record_path, 'w', encoding='utf-8') as f: writer = csv.writer(f, delimiter=',', - lineterminator=os.linesep, + lineterminator='\n', quotechar='"') install = self.get_finalized_command('install_dist') |