formatting

This commit is contained in:
Michael Gummelt
2015-04-22 13:50:47 -07:00
parent 5c0d833e8d
commit cda5f33bd4
2 changed files with 6 additions and 1 deletions

View File

@@ -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."""

View File

@@ -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):