diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2014-06-22 10:34:27 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-06-22 10:34:27 -0400 |
commit | c3f158dcc26b86008c7427674aec5ed100540280 (patch) | |
tree | ad25507966fcd40e89c9cd208611737b3c58d71a /setuptools/command/install_egg_info.py | |
parent | 96631f20ae4d9db6f077bf16d5d58db5239fa69d (diff) | |
download | external_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-x | setuptools/command/install_egg_info.py | 2 |
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", |