summaryrefslogtreecommitdiff
path: root/lib/ansible/utils/collection_loader
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/utils/collection_loader')
-rw-r--r--lib/ansible/utils/collection_loader/_collection_finder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/utils/collection_loader/_collection_finder.py b/lib/ansible/utils/collection_loader/_collection_finder.py
index eedc5def72..5ade6a677e 100644
--- a/lib/ansible/utils/collection_loader/_collection_finder.py
+++ b/lib/ansible/utils/collection_loader/_collection_finder.py
@@ -36,7 +36,7 @@ try:
from importlib import reload as reload_module
except ImportError:
# 2.7 has a global reload function instead...
- reload_module = reload # pylint:disable=undefined-variable
+ reload_module = reload # type: ignore[name-defined] # pylint:disable=undefined-variable
try:
from importlib.util import spec_from_loader