Skip to content

Commit

Permalink
squeeze out None licenses (sagemath#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf authored Sep 5, 2022
1 parent 389647a commit b427f5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grayskull/strategy/pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ def get_metadata(recipe, config) -> dict:
print_msg(f"License type: {Fore.LIGHTMAGENTA_EX}{license_metadata.name}")
print_msg(f"License file: {Fore.LIGHTMAGENTA_EX}{license_file}")
if all_license_name:
all_license_name = list(filter(None, all_license_name))
license_name = " & ".join(all_license_name)
if len(all_license_name) > 1:
print_msg(
Expand Down

0 comments on commit b427f5e

Please sign in to comment.