From 2a5812a0e8d09df8bd07f63a129e58898cf1b0d8 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Wed, 18 May 2016 06:22:36 -0700 Subject: [PATCH] Move the import of get_exception to pycompat24 --- cloud/vmware/vsphere_copy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloud/vmware/vsphere_copy.py b/cloud/vmware/vsphere_copy.py index 931645235f8..41971fa977d 100644 --- a/cloud/vmware/vsphere_copy.py +++ b/cloud/vmware/vsphere_copy.py @@ -82,7 +82,8 @@ import mmap import errno import socket -from ansible.module_utils.basic import AnsibleModule, get_exception +from ansible.module_utils.basic import AnsibleModule +from ansible.module_utils.pycompat24 import get_exception from ansible.module_utils.urls import open_url def vmware_path(datastore, datacenter, path):