Skip to content

Commit 5926244

Browse files
Merge pull request #147 from fosslight/dev_copyright
Merge copyrights with new line
2 parents a5c4af6 + 63732c2 commit 5926244

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fosslight_source/_scan_item.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ def get_row_to_print(self):
7272
print_rows = []
7373
if not self.download_location:
7474
print_rows.append([self.file, self.oss_name, self.oss_version, ','.join(self.licenses), "", "",
75-
','.join(self.copyright), "Exclude" if self.exclude else "", self.comment,
75+
"\n".join(self.copyright), "Exclude" if self.exclude else "", self.comment,
7676
self.license_reference])
7777
else:
7878
for url in self.download_location:
7979
print_rows.append([self.file, self.oss_name, self.oss_version, ','.join(self.licenses), url, "",
80-
','.join(self.copyright), "Exclude" if self.exclude else "", self.comment,
80+
"\n".join(self.copyright), "Exclude" if self.exclude else "", self.comment,
8181
self.license_reference])
8282
return print_rows
8383

0 commit comments

Comments
 (0)