proj/portage:master commit in: lib/portage/emaint/

"Matt Turner" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786672895.c081762bc598fecbce1abf7de9904293f0b63679.mattst88@gentoo>
commit:     c081762bc598fecbce1abf7de9904293f0b63679
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 12 18:02:06 2026 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 02:01:35 2026 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=c081762b

emaint: drop the blank lines around results output

print_results() padded every module's output with one blank line before and
two after, so a one-line result printed as five lines. Print just the
result.

This is shared by every emaint module and by the 'emerge --sync' message
path in _emerge/actions.py, so their output loses the padding too.

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 lib/portage/emaint/main.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/portage/emaint/main.py b/lib/portage/emaint/main.py
index d1dd56a91..c76145113 100644
--- a/lib/portage/emaint/main.py
+++ b/lib/portage/emaint/main.py
@@ -153,9 +153,7 @@ class TaskHandler:
 
 def print_results(results):
     if results:
-        print()
         print("\n".join(results))
-        print("\n")
 
 
 def emaint_main(myargv):
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.