From 70c74b87a986f198f61906f19fa027427b4aded5 Mon Sep 17 00:00:00 2001 From: Kekoa Kaaikala Date: Wed, 21 Sep 2022 17:55:41 +0000 Subject: [PATCH] Agent: Fix mypy issues in capture_output.py --- monkey/infection_monkey/utils/capture_output.py | 1 - 1 file changed, 1 deletion(-) diff --git a/monkey/infection_monkey/utils/capture_output.py b/monkey/infection_monkey/utils/capture_output.py index 898bd6a7e..dc26ec872 100644 --- a/monkey/infection_monkey/utils/capture_output.py +++ b/monkey/infection_monkey/utils/capture_output.py @@ -7,7 +7,6 @@ class StdoutCapture: self._orig_stdout = sys.stdout self._new_stdout = io.StringIO() sys.stdout = self._new_stdout - return self def get_captured_stdout_output(self) -> str: self._new_stdout.seek(0)