From 380afa675ac3c9d086a060c088c917937ad2c1dd Mon Sep 17 00:00:00 2001 From: Shreya Date: Wed, 5 May 2021 18:10:32 +0530 Subject: [PATCH] Remove unused `report_generating_lock` in `monkey_island/cc/resources/root.py` --- monkey/monkey_island/cc/resources/root.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/monkey/monkey_island/cc/resources/root.py b/monkey/monkey_island/cc/resources/root.py index 57d20904a..37b5da7ba 100644 --- a/monkey/monkey_island/cc/resources/root.py +++ b/monkey/monkey_island/cc/resources/root.py @@ -1,5 +1,4 @@ import logging -import threading import flask_restful from flask import jsonify, make_response, request @@ -16,9 +15,6 @@ logger = logging.getLogger(__name__) class Root(flask_restful.Resource): - def __init__(self): - self.report_generating_lock = threading.Event() - def get(self, action=None): if not action: action = request.args.get("action")