Skip to content

Commit 761907b

Browse files
committed
Correctly detect copyright #2684
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent a188941 commit 761907b

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

src/cluecode/copyrights.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2221,7 +2221,8 @@ def from_node(
22212221
COPYRIGHT: {<COPY>+ <YR-RANGE> <NN> <NNP>} #22792
22222222
22232223
# Copyright (c) 2017 odahcam
2224-
COPYRIGHT: {<COPY>+ <YR-RANGE> <NN>+ <ALLRIGHTRESERVED>?} #22793
2224+
# or Copyright (c) 2019-2021, Open source contributors.
2225+
COPYRIGHT: {<COPY>+ <YR-RANGE> <NN>+ <CONTRIBUTORS>? <ALLRIGHTRESERVED>?} #22793
22252226
22262227
# Licensed material of Foobar Company, All Rights Reserved, (C) 2005
22272228
COPYRIGHT: {<COMPANY> <ALLRIGHTRESERVED> <COPYRIGHT>} #22794
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Copyright (c) 2019-2021, Open source contributors.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
what:
2+
- copyrights
3+
copyrights:
4+
- Copyright (c) 2019-2021, Open source contributors

0 commit comments

Comments
 (0)