cc: remove unnecessary private constants in consts.py

This commit is contained in:
Mike Salvatore 2021-02-10 08:40:25 -05:00
parent ea14bcc2f6
commit fc2f8eca45
1 changed files with 8 additions and 6 deletions

View File

@ -1,12 +1,14 @@
import os 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 DEFAULT_MONKEY_TTL_EXPIRY_DURATION_IN_SECONDS = 60 * 5
_SERVER_CONFIG_FILENAME = "server_config.json" DEFAULT_SERVER_CONFIG_PATH = os.path.join(
DEFAULT_SERVER_CONFIG_PATH = os.path.join(MONKEY_ISLAND_ABS_PATH, 'cc', _SERVER_CONFIG_FILENAME) MONKEY_ISLAND_ABS_PATH, "cc", "server_config.json"
)
_STANDARD_SERVER_CONFIG_FILENAME = "server_config.json.standard" DEFAULT_STANDARD_SERVER_CONFIG_PATH = os.path.join(
DEFAULT_STANDARD_SERVER_CONFIG_PATH = os.path.join(MONKEY_ISLAND_ABS_PATH, 'cc', _STANDARD_SERVER_CONFIG_FILENAME) MONKEY_ISLAND_ABS_PATH, "cc", "server_config.json.standard"
)