From 716631189cb5a3f66b3add98f39e64e98bc17bf7 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 7 Feb 2023 16:36:29 -0800 Subject: Fix "pointless" strings detected by pylint (#79943) Convert these strings to comments, since they are not valid docstrings. --- lib/ansible/module_utils/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ansible/module_utils/urls.py') 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 -- cgit v1.2.1