Undo format changes

This commit is contained in:
Ryan S. Brown 2016-12-30 10:42:33 -05:00
parent 62dfa2ad11
commit 0228f741c3

View file

@ -327,6 +327,7 @@ def camel_dict_to_snake_dict(camel_dict):
return all_cap_re.sub(r'\1_\2', s1).lower()
def value_is_list(camel_list):
checked_list = []
@ -340,6 +341,7 @@ def camel_dict_to_snake_dict(camel_dict):
return checked_list
snake_dict = {}
for k, v in camel_dict.items():
if isinstance(v, dict):
@ -462,6 +464,7 @@ def get_ec2_security_group_ids_from_names(sec_group_list, ec2_connection, vpc_id
else:
return sg.name
def get_sg_id(sg, boto3):
if boto3: