fix up minor type - AnsibleException should be AnsibleError

pull/4420/head
Seth Vidal 2012-03-23 11:59:08 -04:00
parent 1ea1994eca
commit 89d4bc542c
1 changed files with 1 additions and 1 deletions

View File

@ -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):