From aef3de1e8ed660c62a0a8ef1577c4ee20aabf5f4 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 7 Mar 2022 09:16:50 -0500 Subject: [PATCH] Agent: Remove special depth processing from WormConfiguration --- monkey/infection_monkey/config.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/monkey/infection_monkey/config.py b/monkey/infection_monkey/config.py index aba333c5e..5920d1883 100644 --- a/monkey/infection_monkey/config.py +++ b/monkey/infection_monkey/config.py @@ -28,9 +28,6 @@ class Configuration(object): continue if key in LOCAL_CONFIG_VARS: continue - if self._depth_from_commandline and key == "depth": - self.max_depth = value - continue if hasattr(self, key): setattr(self, key, value) else: @@ -70,9 +67,6 @@ class Configuration(object): return result - # Used to keep track of our depth if manually specified - _depth_from_commandline = False - ########################### # logging config ###########################