Skip to content

Commit 28b6063

Browse files
committed
1 parent 129ed0e commit 28b6063

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

poetry/repositories/installed_repository.py

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ def load(cls, env: Env) -> "InstalledRepository":
112112
metadata.distributions(path=[entry]),
113113
key=lambda d: str(d._path),
114114
):
115+
if not distribution.metadata:
116+
continue
115117
name = distribution.metadata["name"]
116118
path = Path(str(distribution._path))
117119
version = distribution.metadata["version"]

0 commit comments

Comments
 (0)