fosslight-scanner 2.1.4__py3-none-any.whl → 2.1.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -116,11 +116,10 @@ def create_scancodejson(all_scan_item_origin, ui_mode_report, src_path=""):
116
116
 
117
117
  try:
118
118
  all_scan_item = copy.deepcopy(all_scan_item_origin)
119
- if FOSSLIGHT_DEPENDENCY in all_scan_item.file_items:
120
- del all_scan_item.file_items[FOSSLIGHT_DEPENDENCY]
121
119
  if all_scan_item.file_items:
122
- first_sheet = next(iter(all_scan_item.file_items))
123
- else:
120
+ first_sheet = next((item for item in all_scan_item.file_items if item != FOSSLIGHT_DEPENDENCY),
121
+ None)
122
+ if not first_sheet:
124
123
  first_sheet = FOSSLIGHT_SOURCE
125
124
  all_scan_item.file_items[first_sheet] = []
126
125
  if src_path:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fosslight-scanner
3
- Version: 2.1.4
3
+ Version: 2.1.5
4
4
  Summary: FOSSLight Scanner
5
5
  Home-page: https://github.com/fosslight/fosslight_scanner
6
6
  Author: LG Electronics
@@ -21,7 +21,7 @@ Requires-Dist: openpyxl
21
21
  Requires-Dist: progress
22
22
  Requires-Dist: pyyaml
23
23
  Requires-Dist: beautifulsoup4
24
- Requires-Dist: fosslight-util<3.0.0,>=2.1.6
24
+ Requires-Dist: fosslight-util<3.0.0,>=2.1.12
25
25
  Requires-Dist: fosslight-source<3.0.0,>=2.1.4
26
26
  Requires-Dist: fosslight-dependency<5.0.0,>=4.1.3
27
27
  Requires-Dist: fosslight-binary<6.0.0,>=5.1.2
@@ -4,12 +4,12 @@ fosslight_scanner/_help.py,sha256=-Dqgn1inH26614GjrIe8I5cdEziuAxTtwrUdtTkrpjQ,30
4
4
  fosslight_scanner/_parse_setting.py,sha256=SoIEoPGlFXAp6__eEFEMIPYPoKLvmqxXF5X_C_uFiVI,2468
5
5
  fosslight_scanner/_run_compare.py,sha256=zmzX-FIvWCSkwPvEA3iHfVpyg6QDGUCpw3tJuGLdPWM,10657
6
6
  fosslight_scanner/cli.py,sha256=C4YNPVJJ-Ezj_6xe8k9QbIrf5V44GXbHWCGzR2FMcV8,6547
7
- fosslight_scanner/common.py,sha256=PLAp1HLBQnsBY7pIq76z2RuSWeA5tuR6rQHw61IJrE0,8385
7
+ fosslight_scanner/common.py,sha256=K7lCp1ysKzmdHIBQZzLCIGiOg1ENbBZo9mZ724rMbPY,8358
8
8
  fosslight_scanner/fosslight_scanner.py,sha256=EftUvIHIzWm6yOOGyPFCRV_IkT-2YFcoKSDrVEIea2I,20841
9
9
  fosslight_scanner/resources/bom_compare.html,sha256=VocJ9bDmQQOwfGyvXatPZ4W-QddO-IlsAvKdO0nZ7pA,2240
10
- fosslight_scanner-2.1.4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
11
- fosslight_scanner-2.1.4.dist-info/METADATA,sha256=3Ul5Kwh_OKE4ptzrNNHw_PlA52u5UbUofpcdnhDirps,7872
12
- fosslight_scanner-2.1.4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
13
- fosslight_scanner-2.1.4.dist-info/entry_points.txt,sha256=0tBUtN9pKtAkuohQuhbzuohdHbeoI0-w95aWAR7J_RU,105
14
- fosslight_scanner-2.1.4.dist-info/top_level.txt,sha256=43_xLb5KYpy8wOU1H2Wd2fEsWBY7Dg6ZEJJXkfT64Ak,18
15
- fosslight_scanner-2.1.4.dist-info/RECORD,,
10
+ fosslight_scanner-2.1.5.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
11
+ fosslight_scanner-2.1.5.dist-info/METADATA,sha256=zYAaQtJeI4-BZ7Gm1FUsNEfFTvZxrbK9vW6V49fqZUg,7873
12
+ fosslight_scanner-2.1.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
13
+ fosslight_scanner-2.1.5.dist-info/entry_points.txt,sha256=0tBUtN9pKtAkuohQuhbzuohdHbeoI0-w95aWAR7J_RU,105
14
+ fosslight_scanner-2.1.5.dist-info/top_level.txt,sha256=43_xLb5KYpy8wOU1H2Wd2fEsWBY7Dg6ZEJJXkfT64Ak,18
15
+ fosslight_scanner-2.1.5.dist-info/RECORD,,