From 49f2b76f962c5cdbfb33f6f8fa08210676067af2 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Tue, 22 Oct 2024 14:57:19 +0200 Subject: [PATCH] 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 --- bin/find-unneeded-includes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:\n",invocation) + print("Running the IWYU process returned error code:\n" + invocation) if retcode == -1 and not checknamespaces: print("ERROR: A file is probably not self contained, check this commands output:\n" + invocation) elif retcode > 0: