We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 597e1a6 + 7057b9b commit b2c46f7Copy full SHA for b2c46f7
git/cmd.py
@@ -111,7 +111,6 @@ def handle_process_output(
111
112
This function returns once the finalizer returns.
113
114
- :return: Result of finalizer
115
:param process: :class:`subprocess.Popen` instance
116
:param stdout_handler: f(stdout_line_string), or None
117
:param stderr_handler: f(stderr_line_string), or None
@@ -205,9 +204,7 @@ def pump_stream(
205
204
stderr_handler(error_str) # type: ignore
206
207
if finalizer:
208
- return finalizer(process)
209
- else:
210
- return None
+ finalizer(process)
211
212
213
def dashify(string: str) -> str:
0 commit comments