From 3c0931285c1e4bd9019eb65747f50196a05efeee Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 3 Mar 2021 11:17:27 -0500 Subject: [PATCH] project: fix variable typo Bug: https://crbug.com/gerrit/11293 Reported-by: Daniel Kutik Change-Id: I37bac58aa1dc9ecc10e29253d14ff9e6fb42427c Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/298942 Reviewed-by: Ian Kasprzak Tested-by: Mike Frysinger --- project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)