spaces and tabs

This commit is contained in:
carnal0wnage
2017-06-30 17:44:57 -04:00
parent ffc668625e
commit 096127b669
3 changed files with 6 additions and 4 deletions

View File

@@ -26,5 +26,5 @@ def describe_db_instances(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY):
except botocore.exceptions.ClientError as e: except botocore.exceptions.ClientError as e:
print e print e
except KeyboardInterrupt: except KeyboardInterrupt:
print("CTRL-C received, exiting...") print("CTRL-C received, exiting...")

View File

@@ -13,7 +13,8 @@ pp = pprint.PrettyPrinter(indent=5, width=80)
#insert AWS key, will figure out how to pull this in from a single file for all scripts #insert AWS key, will figure out how to pull this in from a single file for all scripts
#AWS_ACCESS_KEY_ID = '' AWS_ACCESS_KEY_ID = ''
#AWS_SECRET_ACCESS_KEY ='' AWS_SECRET_ACCESS_KEY =''
describe_db_instances(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) describe_db_instances(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)

View File

@@ -14,6 +14,7 @@ from libs.s3 import *
AWS_ACCESS_KEY_ID = '' AWS_ACCESS_KEY_ID = ''
AWS_SECRET_ACCESS_KEY ='' AWS_SECRET_ACCESS_KEY =''
#open a list of possible buckets and attempt to list the contents #open a list of possible buckets and attempt to list the contents
f = open('test.txt', 'r') f = open('test.txt', 'r')
for line in f: for line in f: