File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -159,19 +159,19 @@ class LicenseDetection:
159159 'using the SPDX license expression syntax and ScanCode license keys.' )
160160 )
161161
162- detection_log = attr .ib (
163- repr = False ,
162+ matches = attr .ib (
164163 default = attr .Factory (list ),
165164 metadata = dict (
166- help = 'A list of detection DetectionRule explaining how '
167- 'this detection was created.'
165+ help = 'List of license matches combined in this detection.'
168166 )
169167 )
170168
171- matches = attr .ib (
169+ detection_log = attr .ib (
170+ repr = False ,
172171 default = attr .Factory (list ),
173172 metadata = dict (
174- help = 'List of license matches combined in this detection.'
173+ help = 'A list of detection DetectionRule explaining how '
174+ 'this detection was created.'
175175 )
176176 )
177177
@@ -585,8 +585,8 @@ class UniqueDetection:
585585 identifier = attr .ib (default = None )
586586 license_expression = attr .ib (default = None )
587587 count = attr .ib (default = None )
588- detection_log = attr .ib (default = attr .Factory (list ))
589588 matches = attr .ib (default = attr .Factory (list ))
589+ detection_log = attr .ib (default = attr .Factory (list ))
590590 files = attr .ib (factory = list )
591591
592592 @classmethod
You can’t perform that action at this time.
0 commit comments