aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/install_egg_info.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-06-22 10:34:27 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-06-22 10:34:27 -0400
commitc3f158dcc26b86008c7427674aec5ed100540280 (patch)
treead25507966fcd40e89c9cd208611737b3c58d71a /setuptools/command/install_egg_info.py
parent96631f20ae4d9db6f077bf16d5d58db5239fa69d (diff)
downloadexternal_python_setuptools-c3f158dcc26b86008c7427674aec5ed100540280.tar.gz
external_python_setuptools-c3f158dcc26b86008c7427674aec5ed100540280.tar.bz2
external_python_setuptools-c3f158dcc26b86008c7427674aec5ed100540280.zip
Prefer the writelines method.
Diffstat (limited to 'setuptools/command/install_egg_info.py')
-rwxr-xr-xsetuptools/command/install_egg_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/install_egg_info.py b/setuptools/command/install_egg_info.py
index 35a00e54..3e413898 100755
--- a/setuptools/command/install_egg_info.py
+++ b/setuptools/command/install_egg_info.py
@@ -74,7 +74,7 @@ class install_egg_info(Command):
lines = map(self._gen_nspkg_line, nsp)
with open(filename, 'wt') as f:
- list(map(f.write, lines))
+ f.writelines(lines)
_nspkg_tmpl = (
"import sys, types, os",