From 26bbf07d7507850c06d571e1bedc4123493fc925 Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Tue, 7 May 2019 17:31:38 +0300 Subject: [PATCH] Deleted unused file (early implementation idea) --- .../cc/services/monkey_timeout.py | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 monkey/monkey_island/cc/services/monkey_timeout.py diff --git a/monkey/monkey_island/cc/services/monkey_timeout.py b/monkey/monkey_island/cc/services/monkey_timeout.py deleted file mode 100644 index 2c3bf4637..000000000 --- a/monkey/monkey_island/cc/services/monkey_timeout.py +++ /dev/null @@ -1,22 +0,0 @@ -import functools -import pprint - - -def start_timer_decorator(func): - @functools.wraps(func) - def wrapper_decorator(*args, **kwargs): - print("ib4get - start the timer, folks. \nargs:") - pprint.pprint(args) - print("kwargs: ") - pprint.pprint(kwargs) - value = func(*args, **kwargs) - print("after party woohoo") - - try: - print("Starting timer on " + kwargs['guid']) - except KeyError as e: - print("NO GUID AVAILABLE") - - return value - - return wrapper_decorator