From 81f2393b460f4efd668def5dd5c6f97f314a3e81 Mon Sep 17 00:00:00 2001 From: Arksine Date: Thu, 20 May 2021 17:27:28 -0400 Subject: [PATCH] update_manager: Don't set the std_err_callback for async git commands When no callback is set for stderr, the outputfrom stderr is piped to stdout. This makes setting the callback redundant. Signed-off-by: Eric Callahan --- moonraker/components/update_manager.py | 1 - 1 file changed, 1 deletion(-) diff --git a/moonraker/components/update_manager.py b/moonraker/components/update_manager.py index 0c7148e..d43a27e 100644 --- a/moonraker/components/update_manager.py +++ b/moonraker/components/update_manager.py @@ -1349,7 +1349,6 @@ class GitRepo: git_cmd = f"git -C {self.git_path} {cmd}" scmd = self.cmd_helper.build_shell_command( git_cmd, callback=self._handle_process_output, - std_err_callback=self._handle_process_output, env=env) while retries: self.git_messages.clear()