Commit 89d4bc54 by Seth Vidal

fix up minor type - AnsibleException should be AnsibleError

parent 1ea1994e
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment