Add doc-comment for fn handle_output_stream

This commit is contained in:
Stephen Seo 2023-06-26 13:18:19 +09:00
parent ec48b1f419
commit c013e6b37b

View file

@ -1084,6 +1084,11 @@ def cleanup_sccache(chroot: str):
def handle_output_stream(handle, output_file, other_state):
"""Reads lines from an input stream "handle" and writes them to
"output_file". Flags in "other_state" determine certain behaviors, such as
prepending a timestamp to each line, or the filesize-limit for the
"output_file"."""
log_count = 0
limit_reached = False
while True: