forked from p34709852/monkey
Agent: Remove special depth processing from WormConfiguration
This commit is contained in:
parent
524b97078d
commit
aef3de1e8e
|
@ -28,9 +28,6 @@ class Configuration(object):
|
||||||
continue
|
continue
|
||||||
if key in LOCAL_CONFIG_VARS:
|
if key in LOCAL_CONFIG_VARS:
|
||||||
continue
|
continue
|
||||||
if self._depth_from_commandline and key == "depth":
|
|
||||||
self.max_depth = value
|
|
||||||
continue
|
|
||||||
if hasattr(self, key):
|
if hasattr(self, key):
|
||||||
setattr(self, key, value)
|
setattr(self, key, value)
|
||||||
else:
|
else:
|
||||||
|
@ -70,9 +67,6 @@ class Configuration(object):
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
# Used to keep track of our depth if manually specified
|
|
||||||
_depth_from_commandline = False
|
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
# logging config
|
# logging config
|
||||||
###########################
|
###########################
|
||||||
|
|
Loading…
Reference in New Issue