mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add missing iteritems definition (#21106)
Also moved most imports out of try-except block.
This commit is contained in:
parent
a3eab4fc48
commit
4f96ee5e27
1 changed files with 4 additions and 3 deletions
|
@ -17,11 +17,12 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from ansible.module_utils.six import iteritems
|
||||
import atexit
|
||||
import ssl
|
||||
import time
|
||||
|
||||
try:
|
||||
import atexit
|
||||
import time
|
||||
import ssl
|
||||
# requests is required for exception handling of the ConnectionError
|
||||
import requests
|
||||
from pyVim import connect
|
||||
|
|
Loading…
Add table
Reference in a new issue