ec2_group_facts: Fail correctly when boto3 is not installed

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
pull/20839/head
Steve Kuznetsov 8 years ago committed by Matt Clay
parent cb76200c7d
commit 4a57cba86d

@ -102,7 +102,7 @@ try:
from botocore.exceptions import ClientError from botocore.exceptions import ClientError
HAS_BOTO3 = True HAS_BOTO3 = True
except ImportError: except ImportError:
HAS_BOTO3 = Falsentry HAS_BOTO3 = False
import traceback import traceback

Loading…
Cancel
Save