Skip to content

Commit

Permalink
Fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
xrmx committed Sep 13, 2024
1 parent 1ff0f6d commit 63985da
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,11 @@ def dist_for(self, entry_point: EntryPoint):
if dist:
return dist

key = f"{entry_point.group}:{entry_point.name}:{entry_point.value}"
return self._mapping.get(key)
return self._mapping.get(self.key_for(entry_point))

@staticmethod
def _key_for(entry_point: EntryPoint):
return f"{entry_point.group}:{entry_point.name}:{entry_point.value}"


def _load_distro() -> BaseDistro:
Expand Down

0 comments on commit 63985da

Please sign in to comment.