diff --git a/src/fosslight_source/_scan_item.py b/src/fosslight_source/_scan_item.py index 17b5ef5..5a42db3 100644 --- a/src/fosslight_source/_scan_item.py +++ b/src/fosslight_source/_scan_item.py @@ -72,12 +72,12 @@ def get_row_to_print(self): print_rows = [] if not self.download_location: print_rows.append([self.file, self.oss_name, self.oss_version, ','.join(self.licenses), "", "", - ','.join(self.copyright), "Exclude" if self.exclude else "", self.comment, + "\n".join(self.copyright), "Exclude" if self.exclude else "", self.comment, self.license_reference]) else: for url in self.download_location: print_rows.append([self.file, self.oss_name, self.oss_version, ','.join(self.licenses), url, "", - ','.join(self.copyright), "Exclude" if self.exclude else "", self.comment, + "\n".join(self.copyright), "Exclude" if self.exclude else "", self.comment, self.license_reference]) return print_rows