Skip to content

Commit

Permalink
Use self.entrypoints when identifying paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mindyls committed Aug 7, 2024
1 parent 06cb3d3 commit 768568f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions geoips/commandline/geoips_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,8 @@ def __init__(self):
ep.value
for ep in sorted(metadata.entry_points(group="geoips.plugin_packages"))
]
print(self.entrypoints)
self.paths = [
dirname(epvalue)
for epvalue in self.entrypoints
]
print(self.paths)
self.paths = [dirname(epvalue) for epvalue in self.entrypoints]


plugin_packages = PluginPackages()

Expand Down

0 comments on commit 768568f

Please sign in to comment.