Skip to content

Commit 817db18

Browse files
committed
Add trailing line return.
Signed-off-by: Gaupeng <gaurang.r.rao@gmail.com>
1 parent 00e4bb1 commit 817db18

52 files changed

Lines changed: 54 additions & 53 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

etc/scripts/osikeys.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import urllib.request
2-
import licensedcode.index
31
import json
2+
import licensedcode.index
3+
import urllib.request
44
from licensedcode.cache import get_index
55
from licensedcode.models import load_licenses
66

@@ -33,6 +33,7 @@ def add_osi_key(obj: "OSI License Object"):
3333
licenses_path = "src/licensedcode/data/licenses/" # licenses directory
3434
file_to_modify = open(licenses_path + mapped_license.key + ".yml", "a")
3535
file_to_modify.write("osi_license_key: " + osi_key)
36+
file_to_modify.write("\n")
3637

3738

3839
def add_osi_keys():

src/licensedcode/data/licenses/adapt-1.0.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ osi_url: http://www.opensource.org/licenses/apl1.0.php
1212
other_urls:
1313
- http://www.opensource.org/licenses/APL-1.0
1414
- https://opensource.org/licenses/APL-1.0
15-
osi_license_key: APL-1.0
15+
osi_license_key: APL-1.0

src/licensedcode/data/licenses/afl-3.0.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ ignorable_copyrights:
1919
- Copyright (c) 2005 Lawrence Rosen
2020
ignorable_holders:
2121
- Lawrence Rosen
22-
osi_license_key: AFL-3.0
22+
osi_license_key: AFL-3.0

src/licensedcode/data/licenses/agpl-3.0.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ ignorable_holders:
2727
ignorable_urls:
2828
- https://fsf.org/
2929
- https://www.gnu.org/licenses/
30-
osi_license_key: AGPL-3.0
30+
osi_license_key: AGPL-3.0

src/licensedcode/data/licenses/apache-1.1.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ ignorable_urls:
2424
- http://www.apache.org/
2525
ignorable_emails:
2626
- apache@apache.org
27-
osi_license_key: Apache-1.1
27+
osi_license_key: Apache-1.1

src/licensedcode/data/licenses/apache-2.0.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ other_urls:
1818
ignorable_urls:
1919
- http://www.apache.org/licenses/
2020
- http://www.apache.org/licenses/LICENSE-2.0
21-
osi_license_key: Apache-2.0
21+
osi_license_key: Apache-2.0

src/licensedcode/data/licenses/apsl-2.0.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ ignorable_holders:
1919
ignorable_urls:
2020
- http://www.apple.com/legal/guidelinesfor3rdparties.html
2121
- http://www.opensource.apple.com/apsl/
22-
osi_license_key: APSL-2.0
22+
osi_license_key: APSL-2.0

src/licensedcode/data/licenses/artistic-1.0.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ other_urls:
1616
- https://opensource.org/licenses/Artistic-1.0
1717
ignorable_urls:
1818
- http://ftp.uu.net/
19-
osi_license_key: Artistic-1.0
19+
osi_license_key: Artistic-1.0

src/licensedcode/data/licenses/artistic-2.0.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ ignorable_authors:
2222
- The Perl Foundation
2323
ignorable_holders:
2424
- The Perl Foundation
25-
osi_license_key: Artistic-2.0
25+
osi_license_key: Artistic-2.0

src/licensedcode/data/licenses/bsd-new.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ osi_url: http://www.opensource.org/licenses/BSD-3-Clause
1212
other_urls:
1313
- http://framework.zend.com/license/new-bsd
1414
- https://opensource.org/licenses/BSD-3-Clause
15-
osi_license_key: BSD-3
15+
osi_license_key: BSD-3

0 commit comments

Comments
 (0)