forked from p15670423/monkey
Agent: Use logger.warning() instead of depricated warn()
This commit is contained in:
parent
bf0e5f098b
commit
23886e2cf7
|
@ -54,10 +54,10 @@ class AutomatedMaster(IMaster):
|
|||
self._simulation_thread.join(SHUTDOWN_TIMEOUT)
|
||||
|
||||
if self._simulation_thread.is_alive():
|
||||
logger.warn("Timed out waiting for the simulation to stop")
|
||||
logger.warning("Timed out waiting for the simulation to stop")
|
||||
# Since the master thread and all child threads are daemon threads, they will be
|
||||
# forcefully killed when the program exits.
|
||||
logger.warn("Forcefully killing the simulation")
|
||||
logger.warning("Forcefully killing the simulation")
|
||||
|
||||
def _wait_for_master_stop_condition(self):
|
||||
timer = Timer()
|
||||
|
|
Loading…
Reference in New Issue