From a88891557748356b0e50e884cc792ca4ad2411c7 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 26 Jan 2022 08:14:04 -0500 Subject: [PATCH] Agent: Add bool return type hint to _can_propagate() --- monkey/infection_monkey/master/automated_master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/master/automated_master.py b/monkey/infection_monkey/master/automated_master.py index d30f1d819..28994d673 100644 --- a/monkey/infection_monkey/master/automated_master.py +++ b/monkey/infection_monkey/master/automated_master.py @@ -182,7 +182,7 @@ class AutomatedMaster(IMaster): command, result = self._puppet.run_pba(name, options) self._telemetry_messenger.send_telemetry(PostBreachTelem(name, command, result)) - def _can_propagate(self): + def _can_propagate(self) -> bool: return True def _run_payload(self, payload: Tuple[str, Dict]):