Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lazToum committed Mar 21, 2021
1 parent 129ed0e commit 28b6063
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions poetry/repositories/installed_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ def load(cls, env: Env) -> "InstalledRepository":
metadata.distributions(path=[entry]),
key=lambda d: str(d._path),
):
if not distribution.metadata:
continue
name = distribution.metadata["name"]
path = Path(str(distribution._path))
version = distribution.metadata["version"]
Expand Down

0 comments on commit 28b6063

Please sign in to comment.