From 137ca0ef613278a473b2632e4c95cc7f4e6faa11 Mon Sep 17 00:00:00 2001 From: carnal0wnage Date: Thu, 26 Apr 2018 22:54:59 -0400 Subject: [PATCH] remove a print statemetn --- libs/ec2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ec2.py b/libs/ec2.py index d960ee9..03cac54 100644 --- a/libs/ec2.py +++ b/libs/ec2.py @@ -77,6 +77,7 @@ def describe_instances(): try: client = boto3.client('ec2', region_name=region) response = client.describe_instances() + #print(response) except botocore.exceptions.ClientError as e: if e.response['Error']['Code'] == 'UnauthorizedOperation': print('{} : (UnauthorizedOperation) when calling the DescribeInstances -- sure you have ec2 permissions?' .format(AWS_ACCESS_KEY_ID))