mirror of
https://github.com/aljazceru/recon-pipeline.git
synced 2025-12-22 08:44:22 +01:00
removed unnecessary lock acquire
This commit is contained in:
@@ -84,11 +84,8 @@ class ReconShell(cmd2.Cmd):
|
|||||||
|
|
||||||
output = output.decode().strip()
|
output = output.decode().strip()
|
||||||
|
|
||||||
if self.terminal_lock.acquire(blocking=True):
|
|
||||||
self.async_alert(style(f"[!] {output}", fg="bright_red"))
|
self.async_alert(style(f"[!] {output}", fg="bright_red"))
|
||||||
|
|
||||||
self.terminal_lock.release()
|
|
||||||
|
|
||||||
def _luigi_pretty_printer(self, stderr):
|
def _luigi_pretty_printer(self, stderr):
|
||||||
""" Helper to clean up the VERY verbose luigi log messages that are normally spewed to the terminal. """
|
""" Helper to clean up the VERY verbose luigi log messages that are normally spewed to the terminal. """
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user