File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments