diff --git a/project.py b/project.py index dbc3ae61..474d6579 100644 --- a/project.py +++ b/project.py @@ -1150,7 +1150,7 @@ class Project(object): p = GitCommand(self, cmd, bare=True, capture_stdout=bool(output_redir), merge_output=bool(output_redir)) if p.stdout and output_redir: - buf.write(p.stdout) + output_redir.write(p.stdout) if p.Wait() != 0: return False platform_utils.remove(alternates_file)