mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
PEP8 E712 fixes (#21916)
This commit is contained in:
@@ -660,7 +660,7 @@ class Connection(ConnectionBase):
|
||||
raise AnsibleOptionsError('scp_if_ssh needs to be one of [smart|True|False]')
|
||||
if scp_if_ssh == 'smart':
|
||||
methods = ['sftp', 'scp', 'piped']
|
||||
elif scp_if_ssh == True:
|
||||
elif scp_if_ssh is True:
|
||||
methods = ['scp']
|
||||
else:
|
||||
methods = ['sftp']
|
||||
|
||||
Reference in New Issue
Block a user