updated. Fixes #59

This commit is contained in:
cktricky
2018-09-25 17:08:47 -04:00
committed by Kenneth Toler
parent 66291a7031
commit e051b80aad

View File

@@ -122,6 +122,11 @@ def print_the_list():
print(tabulate(aws_rows, headers=['Cloud Provider', 'Service', 'Mod', 'Desc'])) print(tabulate(aws_rows, headers=['Cloud Provider', 'Service', 'Mod', 'Desc']))
print(tabulate(gcp_rows, headers=['Cloud Provider', 'Service', 'Mod', 'Desc'])) print(tabulate(gcp_rows, headers=['Cloud Provider', 'Service', 'Mod', 'Desc']))
if (args.list):
make_the_list()
print_the_list()
sys.exit(1)
# Need to figure out if we have keys in the ENV or not # Need to figure out if we have keys in the ENV or not
try: try:
perform_credential_check() perform_credential_check()
@@ -129,10 +134,6 @@ except:
print("Check the above error message and fix to use weirdAAL") print("Check the above error message and fix to use weirdAAL")
sys.exit(1) sys.exit(1)
if (args.list):
make_the_list()
print_the_list()
# arg_list has to be defined otherwise will cause an exception # arg_list has to be defined otherwise will cause an exception
arg_list = None arg_list = None