From fc2f8eca45d975ed44ba8ef74287172198c1424f Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 10 Feb 2021 08:40:25 -0500 Subject: [PATCH] cc: remove unnecessary private constants in consts.py --- monkey/monkey_island/cc/server_utils/consts.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/monkey/monkey_island/cc/server_utils/consts.py b/monkey/monkey_island/cc/server_utils/consts.py index 904526618..cb91b6578 100644 --- a/monkey/monkey_island/cc/server_utils/consts.py +++ b/monkey/monkey_island/cc/server_utils/consts.py @@ -1,12 +1,14 @@ import os -__author__ = 'itay.mizeretz' +__author__ = "itay.mizeretz" -MONKEY_ISLAND_ABS_PATH = os.path.join(os.getcwd(), 'monkey_island') +MONKEY_ISLAND_ABS_PATH = os.path.join(os.getcwd(), "monkey_island") DEFAULT_MONKEY_TTL_EXPIRY_DURATION_IN_SECONDS = 60 * 5 -_SERVER_CONFIG_FILENAME = "server_config.json" -DEFAULT_SERVER_CONFIG_PATH = os.path.join(MONKEY_ISLAND_ABS_PATH, 'cc', _SERVER_CONFIG_FILENAME) +DEFAULT_SERVER_CONFIG_PATH = os.path.join( + MONKEY_ISLAND_ABS_PATH, "cc", "server_config.json" +) -_STANDARD_SERVER_CONFIG_FILENAME = "server_config.json.standard" -DEFAULT_STANDARD_SERVER_CONFIG_PATH = os.path.join(MONKEY_ISLAND_ABS_PATH, 'cc', _STANDARD_SERVER_CONFIG_FILENAME) +DEFAULT_STANDARD_SERVER_CONFIG_PATH = os.path.join( + MONKEY_ISLAND_ABS_PATH, "cc", "server_config.json.standard" +)