Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: errbotio/errbot
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ec6e44829f6feeb9969cfbc808279c9a01f50c94
Choose a base ref
..
head repository: errbotio/errbot
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8056027fd7da85e93f60a5d73bbc61daa87c3d46
Choose a head ref
Showing with 3 additions and 3 deletions.
  1. +3 −3 errbot/utils.py
6 changes: 3 additions & 3 deletions errbot/utils.py
Original file line number Diff line number Diff line change
@@ -203,11 +203,11 @@ def entry_point_plugins(group):

eps = importlib.metadata.entry_points()
try:
thing = eps.select(group=group)
entry_points = eps.select(group=group)
except AttributeError:
thing = eps[group]
entry_points = eps.get(group, ())

for entry_point in thing:
for entry_point in entry_points:
module_name = entry_point.module
file_name = module_name.replace(".", "/") + ".py"
for f in entry_point.dist.files: