◐ Shell
clean mode source ↗

In handle_process_output don't forward finalizer result by EliahKagan · Pull Request #1788 · gitpython-developers/GitPython

Expand Up @@ -111,7 +111,6 @@ def handle_process_output(
This function returns once the finalizer returns.
:return: Result of finalizer :param process: :class:`subprocess.Popen` instance :param stdout_handler: f(stdout_line_string), or None :param stderr_handler: f(stderr_line_string), or None Expand Down Expand Up @@ -205,9 +204,7 @@ def pump_stream( stderr_handler(error_str) # type: ignore
if finalizer: return finalizer(process) else: return None finalizer(process)

def dashify(string: str) -> str: Expand Down