Skip to content

Commit

Permalink
removed unnecessary lock acquire
Browse files Browse the repository at this point in the history
  • Loading branch information
epi052 committed Jan 22, 2020
1 parent 210801b commit 03c71fd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions recon-pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ def _install_error_reporter(self, stderr):

output = output.decode().strip()

if self.terminal_lock.acquire(blocking=True):
self.async_alert(style(f"[!] {output}", fg="bright_red"))

self.terminal_lock.release()
self.async_alert(style(f"[!] {output}", fg="bright_red"))

def _luigi_pretty_printer(self, stderr):
""" Helper to clean up the VERY verbose luigi log messages that are normally spewed to the terminal. """
Expand Down

0 comments on commit 03c71fd

Please sign in to comment.