aboutcode-org / aboutcode-org/scancode-toolkit

`build_spdx_license_expression` breaks on deprecated licenses

オープン
#3,400 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

To reproduce:
```
from licensedcode.cache import build_spdx_license_expression
build_spdx_license_expression("broadcom-linking-unmodified")
```

```
Traceback (most recent call last):
File "", line 1, in
File "lib/python3.10/site-packages/licensedcode/cache.py", line 514, in build_spdx_license_expression
return parsed.render(template='{symbol.wrapped.spdx_license_key}')
File "lib/python3.10/site-packages/license_expression/__init__.py", line 1283, in render
return template.format(symbol=self)
AttributeError: 'LicenseSymbol' object has no attribute 'wrapped'
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。