diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2021-08-29 10:27:11 -0400 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2021-09-01 10:55:33 +0100 |
commit | 11da137e3fc34861be8ac3e664ee60a22e66b44c (patch) | |
tree | c7673029413062d7f542cdf4af6dd50d9bb22286 | |
parent | 8846a3f24a65df82f48d724b3b49b8ac8f135dcd (diff) | |
download | stevedore-11da137e3fc34861be8ac3e664ee60a22e66b44c.tar.gz |
Rely on member access, the preferred access since importlib_metadata 4.8.
Change-Id: I20a7fe4240cf78e6b863951740c2d0fe9aa28132
Closes: #1941991
-rw-r--r-- | stevedore/_cache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stevedore/_cache.py b/stevedore/_cache.py index 15f0fff..d0574f5 100644 --- a/stevedore/_cache.py +++ b/stevedore/_cache.py @@ -116,7 +116,7 @@ def _build_cacheable_data(path): # package that provides entry points using tox, where the # package is installed in the virtualenv that tox builds # and is present in the path as '.'. - item = ep[:] # convert namedtuple to tuple + item = ep.name, ep.value, ep.group # convert to tuple if item in existing: continue existing.add(item) |