Skip to content

Commit 10a82a0

Browse files
authored
Merge pull request #1054 from nexB/74-license-expressions
Add support for license expressions #74 Signed-off-by: Philippe Ombredanne <[email protected]>
2 parents 5189fc1 + 76e9517 commit 10a82a0

File tree

7,384 files changed

+27177
-18594
lines changed

Some content is hidden

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

7,384 files changed

+27177
-18594
lines changed

etc/scripts/json2csv.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,6 @@ def collect_keys(mapping, key_group):
146146
elif k == 'matched_rule':
147147
for mrk, mrv in val.items():
148148
mrk = 'matched_rule__' + mrk
149-
if mrk == 'license_choice':
150-
mrv = 'y' if mrv else ''
151-
if mrk == 'licenses':
152-
mrv = ' '.join(mrv)
153149
if mrk in ('match_coverage', 'rule_relevance'):
154150
# normalize the string representation of this number
155151
mrv = '{:.2f}'.format(mrv)

0 commit comments

Comments
 (0)