mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
fixed typo
This commit is contained in:
parent
e5460d6a6e
commit
b809d23863
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class ConnectionBase(with_metaclass(ABCMeta, object)):
|
||||||
shell_type = getattr(self, '_shell_type')
|
shell_type = getattr(self, '_shell_type')
|
||||||
else:
|
else:
|
||||||
shell_type = 'sh'
|
shell_type = 'sh'
|
||||||
shell_filename = os.path.basename(self.play_context.executable)
|
shell_filename = os.path.basename(self._play_context.executable)
|
||||||
for shell in shell_loader.all():
|
for shell in shell_loader.all():
|
||||||
if shell_filename in shell.COMPATIBLE_SHELLS:
|
if shell_filename in shell.COMPATIBLE_SHELLS:
|
||||||
shell_type = shell.SHELL_FAMILY
|
shell_type = shell.SHELL_FAMILY
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue