From e7eeac7c4aeedba2e56de1ec583de0f2bcd77d4d Mon Sep 17 00:00:00 2001 From: Nathaniel Haller Date: Wed, 3 Jul 2024 17:33:42 -0700 Subject: [PATCH] Add a space before and after repository URL addresses. URL addresses in 'status -v' and 'list-repos' command output will be have a space added before and after the URL. https://github.com/tianocore/edk2-edkrepo/issues/258 Signed-off-by: Nathaniel Haller --- edkrepo/commands/humble/list_repos_humble.py | 2 +- edkrepo/commands/humble/status_humble.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/edkrepo/commands/humble/list_repos_humble.py b/edkrepo/commands/humble/list_repos_humble.py index e2680e1..a19665a 100644 --- a/edkrepo/commands/humble/list_repos_humble.py +++ b/edkrepo/commands/humble/list_repos_humble.py @@ -21,7 +21,7 @@ MANIFEST_DIRECTORY = 'Manifest directory:' PROJECT_NAME_FORMAT_STRING = '{}{}{{}}{}:'.format(Fore.YELLOW, Style.BRIGHT, Style.RESET_ALL) REPOSITORIES = 'Repositories:' -REPO_NAME_AND_URL = '{}{}{{}}{} - [{}{}{{}}{}]'.format(Fore.MAGENTA, Style.BRIGHT, Style.RESET_ALL, Fore.RED, Style.BRIGHT, Style.RESET_ALL) +REPO_NAME_AND_URL = '{}{}{{}}{} - [ {}{}{{}}{} ]'.format(Fore.MAGENTA, Style.BRIGHT, Style.RESET_ALL, Fore.RED, Style.BRIGHT, Style.RESET_ALL) REPO_NAME_NOT_FOUND = 'repo_name not found' REPO_NOT_FOUND_IN_MANIFEST = 'Repo(s) {} not found in any manifest file' FORMAT_TYPE_INVALID = 'format must be text or json' diff --git a/edkrepo/commands/humble/status_humble.py b/edkrepo/commands/humble/status_humble.py index b0814e2..3b1d19a 100644 --- a/edkrepo/commands/humble/status_humble.py +++ b/edkrepo/commands/humble/status_humble.py @@ -17,4 +17,4 @@ #Messages for status_command.py STATUS_CURRENT_COMBO = "{}Current combo: {}{{}}{}".format(Style.BRIGHT, Fore.GREEN, Style.RESET_ALL) REPO_HEADER = "{}{}{{}}{}:".format(Style.BRIGHT, Fore.CYAN, Style.RESET_ALL) -REPO_HEADER_VERBOSE = "{}{}{{}}{} - [{}{}{{}}{}]:".format(Style.BRIGHT, Fore.CYAN, Style.RESET_ALL, Style.BRIGHT, Fore.RED, Style.RESET_ALL) \ No newline at end of file +REPO_HEADER_VERBOSE = "{}{}{{}}{} - [ {}{}{{}}{} ]:".format(Style.BRIGHT, Fore.CYAN, Style.RESET_ALL, Style.BRIGHT, Fore.RED, Style.RESET_ALL) \ No newline at end of file