Skip to content

Commit

Permalink
cc: remove unnecessary private constants in consts.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mssalvatore committed Feb 12, 2021
1 parent 3d1d602 commit 52f80e8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions monkey/monkey_island/cc/consts.py
Original file line number Diff line number Diff line change
@@ -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"
)

0 comments on commit 52f80e8

Please sign in to comment.