bin/find-unneeded-includes |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 49f2b76f962c5cdbfb33f6f8fa08210676067af2
Author:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
AuthorDate: Tue Oct 22 14:57:19 2024 +0200
Commit:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
CommitDate: Mon Oct 28 10:39:41 2024 +0100

    find-unneeded-includes: nicer output with --finderror option
    
    Change-Id: I9d60825fec879169228b18d0d57e59221c11623b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175550
    Tested-by: Jenkins
    Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>

diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index 93b71f5247bc..aa1d6301ecce 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -412,7 +412,7 @@ def run_tool(task_queue, failed_files, dontstop, noexclude, 
checknamespaces, fin
             retcode = 
processIWYUOutput(p.communicate()[0].decode('utf-8').splitlines(), moduleRules, 
invocation.split(' ')[-1], noexclude, checknamespaces, finderrors)
             if finderrors:
                 if p.returncode == 1:
-                    print("Running the IWYU process returned error code:
",invocation)
+                    print("Running the IWYU process returned error code:
" + invocation)
             if retcode == -1 and not checknamespaces:
                 print("ERROR: A file is probably not self contained, check 
this commands output:
" + invocation)
             elif retcode > 0:

Reply via email to