formatting
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
DCOS_DIR = ".dcos"
|
||||
"""DCOS data directory. Can store subcommands and the config file."""
|
||||
|
||||
DCOS_SUBCOMMAND_SUBDIR = 'subcommands'
|
||||
"""Name of the subdirectory that contains all of the subcommands. This is
|
||||
relative to the location of the executable."""
|
||||
|
||||
@@ -42,7 +42,9 @@ BIN_DIRECTORY = 'Scripts' if util.is_windows_platform() else 'bin'
|
||||
|
||||
|
||||
def _subcommand_dir():
|
||||
return os.path.expanduser(os.path.join("~", ".dcos", "subcommands"))
|
||||
return os.path.expanduser(os.path.join("~",
|
||||
constants.DCOS_DIR,
|
||||
constants.DCOS_SUBCOMMAND_SUBDIR))
|
||||
|
||||
|
||||
def list_paths(dcos_path):
|
||||
|
||||
Reference in New Issue
Block a user