Skip to content

Commit

Permalink
Update _glia.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Helveg authored Dec 6, 2023
1 parent 220d7b8 commit 759c0f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions glia/_glia.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def resolver(self):
@property
@lru_cache(maxsize=1)
def packages(self) -> typing.List[Package]:
packages = []
eps = entry_points()
if not hasattr(eps, "select"):
eps = _EntryPointsPatch(eps)
Expand All @@ -102,6 +103,7 @@ def packages(self) -> typing.List[Package]:
@property
@lru_cache(maxsize=1)
def catalogues(self) -> typing.Mapping[str, Catalogue]:
catalogues = {}
eps = entry_points()
if not hasattr(eps, "select"):
eps = _EntryPointsPatch(eps)
Expand Down

0 comments on commit 759c0f8

Please sign in to comment.