diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-12-13 05:54:57 -0800 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-12-13 05:55:31 -0800 |
commit | 2bc3683d41b307611a03447e9d4b194ba6ef5c1c (patch) | |
tree | c91dfa93249580722b5a6b3de14f081034d14616 | |
parent | e2ad4fe9100729462fbd511c75a035ccdfd41841 (diff) | |
download | ansible-2bc3683d41b307611a03447e9d4b194ba6ef5c1c.tar.gz |
Restore comment about for-else since it is an uncommon idiom
-rw-r--r-- | lib/ansible/plugins/action/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/plugins/action/__init__.py b/lib/ansible/plugins/action/__init__.py index 154404e474..254bab476b 100644 --- a/lib/ansible/plugins/action/__init__.py +++ b/lib/ansible/plugins/action/__init__.py @@ -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 |