diff options
author | Michael Merickel <michael@merickel.org> | 2022-05-15 23:11:21 -0500 |
---|---|---|
committer | Michael Merickel <michael@merickel.org> | 2022-05-15 23:37:51 -0500 |
commit | ef58c20961072e4f60c26e94564180c304af7144 (patch) | |
tree | 34ed29506a182a5e51bd2f75018ad0b42b72a295 /src/paste/deploy/util.py | |
parent | e02853fed546838f1bc1d1a9b6ff68adf8e63eb1 (diff) | |
download | pastedeploy-git-ef58c20961072e4f60c26e94564180c304af7144.tar.gz |
replace pkg_resources uses with importlib_metadata
Diffstat (limited to 'src/paste/deploy/util.py')
-rw-r--r-- | src/paste/deploy/util.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/paste/deploy/util.py b/src/paste/deploy/util.py index 1e9c08f..f8ce2aa 100644 --- a/src/paste/deploy/util.py +++ b/src/paste/deploy/util.py @@ -10,12 +10,6 @@ except ImportError: import importlib_metadata -def find_entry_point(dist, group, name): - for entry in dist.entry_points: - if entry.name == name and entry.group == group: - return entry - - def fix_type_error(exc_info, callable, varargs, kwargs): """ Given an exception, this will test if the exception was due to a |