@@ -116,9 +116,7 @@ def get_externalAttribution_dict(self):
116116 dict [licenseName ] = self .licenseName
117117 dict [preSelected ] = self .preSelected
118118
119- if self .source_name == FL_SOURCE :
120- dict [copyright ] = self .copyright
121- elif self .source_name == FL_BINARY :
119+ if self .source_name == FL_SOURCE or FL_BINARY :
122120 dict [copyright ] = self .copyright
123121 dict [packageName ] = self .packageName
124122 dict [packageVersion ] = self .packageVersion
@@ -264,7 +262,7 @@ def make_resources_and_attributions(sheet_items, scanner, resources, fc_list):
264262 if scanner == FL_SOURCE :
265263 if (os .path .join (os .sep , path ) + os .sep ) not in fc_list :
266264 resources = make_resources (path , resources )
267- attribution = Attribution (scanner , license , exclude , copyright )
265+ attribution = Attribution (scanner , license , exclude , copyright , oss_name , oss_version , url )
268266 elif scanner == FL_BINARY :
269267 resources = make_resources (path , resources )
270268 attribution = Attribution (scanner , license , exclude , copyright , oss_name , oss_version , url )
0 commit comments