Skip to content

Commit

Permalink
Remove empty entry_points
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelotrevisani committed Oct 18, 2020
1 parent f1ca4b7 commit 1ff9005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grayskull/pypi/pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def _get_entry_points_from_sdist(sdist_metadata: dict) -> List:
return_entry_point = []
for entry_point in entry_points_result:
return_entry_point.extend(entry_point.split("\n"))
return return_entry_point
return [ep for ep in return_entry_point if ep.strip()]
return []

@staticmethod
Expand Down

0 comments on commit 1ff9005

Please sign in to comment.