summaryrefslogtreecommitdiff
path: root/lib/ansible/module_utils/urls.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2023-02-07 16:36:29 -0800
committerGitHub <noreply@github.com>2023-02-07 16:36:29 -0800
commit716631189cb5a3f66b3add98f39e64e98bc17bf7 (patch)
tree4dca3d9fccacb02895f538ef9fab68e45609560a /lib/ansible/module_utils/urls.py
parent02f6e4053466b86e75ea07615c5cc90710cf1257 (diff)
downloadansible-716631189cb5a3f66b3add98f39e64e98bc17bf7.tar.gz
Fix "pointless" strings detected by pylint (#79943)
Convert these strings to comments, since they are not valid docstrings.
Diffstat (limited to 'lib/ansible/module_utils/urls.py')
-rw-r--r--lib/ansible/module_utils/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/module_utils/urls.py b/lib/ansible/module_utils/urls.py
index 958d5a9b75..e28b91b1b4 100644
--- a/lib/ansible/module_utils/urls.py
+++ b/lib/ansible/module_utils/urls.py
@@ -288,7 +288,7 @@ if not HAS_MATCH_HOSTNAME:
# The following block of code is under the terms and conditions of the
# Python Software Foundation License
- """The match_hostname() function from Python 3.4, essential when using SSL."""
+ # The match_hostname() function from Python 3.4, essential when using SSL.
try:
# Divergence: Python-3.7+'s _ssl has this exception type but older Pythons do not