Skip to content

Commit d6cd4c0

Browse files
committed
Merge remote-tracking branch 'upstream/main' into 251betaprep
2 parents c9fa1f9 + 7a8060c commit d6cd4c0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/manage/commands.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ def show_welcome(self, copyright=True):
520520
except OSError:
521521
LOGGER.debug("Failed to update %s", last_update_file, exc_info=True)
522522
return
523-
LOGGER.print(WELCOME)
523+
LOGGER.info(WELCOME)
524524

525525
def dump_arguments(self):
526526
try:
@@ -720,7 +720,10 @@ class ListCommand(BaseCommand):
720720

721721
def execute(self):
722722
from .list_command import execute
723-
self.show_welcome()
723+
# gh-203: Don't show welcome message for "-1" to minimise the risk of it
724+
# mixing with parsed output.
725+
if not self.one:
726+
self.show_welcome()
724727
if self.default_source:
725728
LOGGER.debug("Loading 'install' command to get source")
726729
inst_cmd = COMMANDS["install"](["install"], self.root)

0 commit comments

Comments
 (0)