[PATCH] scripts: modify output formatter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



modify output formatter

Signed-off-by: shijm <junming@xxxxxxxxxxxx>
---
 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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux