Skip to content

Commit

Permalink
Add a space before and after repository URL addresses.
Browse files Browse the repository at this point in the history
URL addresses in 'status -v' and 'list-repos' command output
will be have a space added before and after the URL.

tianocore#258

Signed-off-by: Nathaniel Haller <[email protected]>
ndhaller committed Jul 4, 2024
1 parent 278e4c9 commit e7eeac7
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edkrepo/commands/humble/list_repos_humble.py
Original file line number Diff line number Diff line change
@@ -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'
2 changes: 1 addition & 1 deletion edkrepo/commands/humble/status_humble.py
Original file line number Diff line number Diff line change
@@ -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)
REPO_HEADER_VERBOSE = "{}{}{{}}{} - [ {}{}{{}}{} ]:".format(Style.BRIGHT, Fore.CYAN, Style.RESET_ALL, Style.BRIGHT, Fore.RED, Style.RESET_ALL)

0 comments on commit e7eeac7

Please sign in to comment.