From: shijm <junming@nfschina.com>
To: tglx@linutronix.de, gregkh@linuxfoundation.org
Cc: linux-spdx@vger.kernel.org, shijm <junming@nfschina.com>
Subject: [PATCH] scripts: modify output formatter
Date: Sun, 15 Jan 2023 19:26:18 +0800 [thread overview]
Message-ID: <20230115112618.11373-1-junming@nfschina.com> (raw)
modify output formatter
Signed-off-by: shijm <junming@nfschina.com>
---
scripts/spdxcheck.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/spdxcheck.py b/scripts/spdxcheck.py
index 18cb9f5b3d3d..7bc13f3c5f7d 100755
--- a/scripts/spdxcheck.py
+++ b/scripts/spdxcheck.py
@@ -232,7 +232,7 @@ class id_parser(object):
tok = pe.tok.value
sys.stdout.write('%s: %d:%d %s: %s\n' %(fname, self.curline, col, pe.txt, tok))
else:
- sys.stdout.write('%s: %d:0 %s\n' %(fname, self.curline, pe.txt))
+ sys.stdout.write('%s: %d:%d %s\n' %(fname, self.curline, pe.txt))
self.spdx_errors += 1
if fname == '-':
--
2.18.2
next reply other threads:[~2023-01-15 11:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-15 11:26 shijm [this message]
2023-01-15 12:35 ` [PATCH] scripts: modify output formatter Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230115112618.11373-1-junming@nfschina.com \
--to=junming@nfschina.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-spdx@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox