Skip to content

Commit

Permalink
Per comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kasteph committed Feb 14, 2021
1 parent b8373a4 commit 5ec480e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions poetry/core/masonry/builders/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ def __init__(

packages = []
for p in self._package.packages:
formats = p.get("format") or []
if formats is None:
formats = ["sdist", "wheel"]
formats = p.get("format", ["sdist", "wheel"])

if (
formats
Expand Down

0 comments on commit 5ec480e

Please sign in to comment.