Commit c3f158dc authored by Jason R. Coombs's avatar Jason R. Coombs

Prefer the writelines method.

parent 96631f20
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment