From df8f9c81e65dee1c447d6ba403e91ccd947bc3ea Mon Sep 17 00:00:00 2001 From: Shreya Date: Thu, 6 May 2021 17:03:17 +0530 Subject: [PATCH] Remove unused `format_time()` in `common/utils/attack_utils.py` --- monkey/common/utils/attack_utils.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/monkey/common/utils/attack_utils.py b/monkey/common/utils/attack_utils.py index 98b6361c4..ef1cba65f 100644 --- a/monkey/common/utils/attack_utils.py +++ b/monkey/common/utils/attack_utils.py @@ -42,13 +42,3 @@ class UsageEnum(Enum): # Dict that describes what BITS job was used for BITS_UPLOAD_STRING = "BITS job was used to upload monkey to a remote system." - - -def format_time(time): - return "%s-%s %s:%s:%s" % ( - time.date().month, - time.date().day, - time.time().hour, - time.time().minute, - time.time().second, - )