git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scripts/spdxcheck.py: fix C++ comment style detection
[sfrench/cifs-2.6.git]
/
scripts
/
spdxcheck.py
diff --git
a/scripts/spdxcheck.py
b/scripts/spdxcheck.py
index 3fb020c2cb7f8803a342ce1eac28a7f88729f9c2..4fe392e507fb01f821512912c3c159a5953c71b3 100755
(executable)
--- a/
scripts/spdxcheck.py
+++ b/
scripts/spdxcheck.py
@@
-177,7
+177,7
@@
class id_parser(object):
continue
expr = line.split(':')[1].strip()
# Remove trailing comment closure
- if line.st
artswith('/*
'):
+ if line.st
rip().endswith('*/
'):
expr = expr.rstrip('*/').strip()
# Special case for SH magic boot code files
if line.startswith('LIST \"'):