mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Restore comment about for-else since it is an uncommon idiom
This commit is contained in:
parent
e2ad4fe910
commit
2bc3683d41
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class ActionBase(with_metaclass(ABCMeta, object)):
|
|||
module_path = self._shared_loader_obj.module_loader.find_plugin(module_name, mod_type)
|
||||
if module_path:
|
||||
break
|
||||
else:
|
||||
else: # This is a for-else: http://bit.ly/1ElPkyg
|
||||
# Use Windows version of ping module to check module paths when
|
||||
# using a connection that supports .ps1 suffixes. We check specifically
|
||||
# for win_ping here, otherwise the code would look for ping.ps1
|
||||
|
|
Loading…
Reference in a new issue