summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",