Skip to content

Commit

Permalink
importlib_metadata removed deprecated entry point interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
woutdenolf committed Oct 3, 2022
1 parent 7c1dcd0 commit 09a15c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion celery/utils/imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def gen_task_name(app, name, module_name):


def load_extension_class_names(namespace):
for ep in entry_points().get(namespace, []):
for ep in entry_points().select(namespace, []):
yield ep.name, ep.value


Expand Down

0 comments on commit 09a15c9

Please sign in to comment.