module_utils/ovirt.py: fix broken import

pull/28473/head
Pierre-Louis Bonicoli 7 years ago committed by Matt Clay
parent f57d51d92c
commit 557356c571

@ -26,9 +26,9 @@ import time
from abc import ABCMeta, abstractmethod from abc import ABCMeta, abstractmethod
from datetime import datetime from datetime import datetime
from distutils.version import LooseVersion from distutils.version import LooseVersion
from enum import Enum
try: try:
from enum import Enum # enum is a ovirtsdk4 requirement
import ovirtsdk4 as sdk import ovirtsdk4 as sdk
import ovirtsdk4.version as sdk_version import ovirtsdk4.version as sdk_version
HAS_SDK = LooseVersion(sdk_version.VERSION) >= LooseVersion('4.0.0') HAS_SDK = LooseVersion(sdk_version.VERSION) >= LooseVersion('4.0.0')

@ -1,7 +1,6 @@
lib/ansible/module_utils/ansible_tower.py lib/ansible/module_utils/ansible_tower.py
lib/ansible/module_utils/avi.py lib/ansible/module_utils/avi.py
lib/ansible/module_utils/azure_rm_common.py lib/ansible/module_utils/azure_rm_common.py
lib/ansible/module_utils/ovirt.py
lib/ansible/modules/cloud/amazon/cloudtrail.py lib/ansible/modules/cloud/amazon/cloudtrail.py
lib/ansible/modules/cloud/amazon/ec2_vpc_igw.py lib/ansible/modules/cloud/amazon/ec2_vpc_igw.py
lib/ansible/modules/cloud/amazon/ec2_vpc_route_table.py lib/ansible/modules/cloud/amazon/ec2_vpc_route_table.py

Loading…
Cancel
Save