Write log file one line at a time

This fixes bug #1137
Indeed, updated commit.


On Thu, Jul 17, 2014 at 3:13 AM, Matt Iversen <notifications@github.com>
wrote:

> In pip/basecommand.py:
>
> > @@ -178,7 +177,8 @@ def main(self, args):
> >                  log_file_fn = temp.name
> >                  log_file_fp = open_logfile(log_file_fn, 'w')
> >              logger.fatal('Storing debug log for failure in %s' % log_file_fn)
> > -            log_file_fp.write(text)
> > +            for line in complete_log:
> > +                log_file_fp.write(text + '\n')
>
> I assume you mean line instead of text.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/pypa/pip/pull/1936/files#r15043683>.
>