We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c9fa1f9 + 7a8060c commit d6cd4c0Copy full SHA for d6cd4c0
1 file changed
src/manage/commands.py
@@ -520,7 +520,7 @@ def show_welcome(self, copyright=True):
520
except OSError:
521
LOGGER.debug("Failed to update %s", last_update_file, exc_info=True)
522
return
523
- LOGGER.print(WELCOME)
+ LOGGER.info(WELCOME)
524
525
def dump_arguments(self):
526
try:
@@ -720,7 +720,10 @@ class ListCommand(BaseCommand):
720
721
def execute(self):
722
from .list_command import execute
723
- self.show_welcome()
+ # 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()
727
if self.default_source:
728
LOGGER.debug("Loading 'install' command to get source")
729
inst_cmd = COMMANDS["install"](["install"], self.root)
0 commit comments