| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -111,7 +111,6 @@ def handle_process_output( | |||
| 111 | 111 | ||
| 112 | 112 | This function returns once the finalizer returns. | |
| 113 | 113 | ||
| 114 | - :return: Result of finalizer | ||
| 115 | 114 | :param process: :class:`subprocess.Popen` instance | |
| 116 | 115 | :param stdout_handler: f(stdout_line_string), or None | |
| 117 | 116 | :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 | 205 | ||
| 207 | 206 | if finalizer: | |
| 208 | - return finalizer(process) | ||
| 209 | - else: | ||
| 210 | - return None | ||
| 207 | + finalizer(process) | ||
| 211 | 208 | ||
| 212 | 209 | ||
| 213 | 210 | def dashify(string: str) -> str: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments