mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix up minor type - AnsibleException should be AnsibleError
This commit is contained in:
parent
1ea1994eca
commit
89d4bc542c
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class ParamikoConnection(object):
|
|||
try:
|
||||
sftp.put(in_path, out_path)
|
||||
except IOError:
|
||||
raise errors.AnsibleException("failed to transfer file to %s" % out_path)
|
||||
raise errors.AnsibleError("failed to transfer file to %s" % out_path)
|
||||
sftp.close()
|
||||
|
||||
def close(self):
|
||||
|
|
Loading…
Reference in a new issue