Skip to content

Commit

Permalink
chore: cleanup function
Browse files Browse the repository at this point in the history
  • Loading branch information
Xieyt committed May 14, 2024
1 parent caa2415 commit 1f51e25
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frappe_manager/utils/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ def stream_stdout_and_stderr(
process_opened.append(process.pid)

q = Queue()
full_stderr = b"" # for the error message
full_stdout = b"" # for the error message

# we use deamon threads to avoid hanging if the user uses ctrl+c
th = Thread(target=reader, args=[process.stdout, "stdout", q])
Expand All @@ -83,8 +81,6 @@ def stream_stdout_and_stderr(
for source, line in iter(q.get, None):
output.append((source, line))
yield source, line
if source == "stderr":
full_stderr += line

exit_code = process.wait()

Expand Down

0 comments on commit 1f51e25

Please sign in to comment.