summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/command/install_distinfo.py
diff options
context:
space:
mode:
authorTarek Ziade <tarek@ziade.org>2011-05-21 17:45:48 (GMT)
committerTarek Ziade <tarek@ziade.org>2011-05-21 17:45:48 (GMT)
commitbe20be134555c3a424edbcd1903e6683f0a6ee61 (patch)
treef0a1531afdc208f6728cfa5789845013a1567925 /Lib/packaging/command/install_distinfo.py
parentfb2473fc8b892291f23152adfa5dcf83cdf7f972 (diff)
downloadcpython-be20be134555c3a424edbcd1903e6683f0a6ee61.zip
cpython-be20be134555c3a424edbcd1903e6683f0a6ee61.tar.gz
cpython-be20be134555c3a424edbcd1903e6683f0a6ee61.tar.bz2
use the same line terminator everywhere
Diffstat (limited to 'Lib/packaging/command/install_distinfo.py')
-rw-r--r--Lib/packaging/command/install_distinfo.py4
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')