Rely on member access, the preferred access since importlib_metadata 4.8.
Change-Id: I20a7fe4240cf78e6b863951740c2d0fe9aa28132 Closes: #1941991
This commit is contained in:
parent
8846a3f24a
commit
11da137e3f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user