Skip to content

Commit

Permalink
Added default result of None in catch statement
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdynasty committed Apr 8, 2016
1 parent fde591d commit 36c2c6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cloud/amazon/ec2_vpc_nat_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@

def convert_to_lower(data):
"""Convert all uppercase keys in dict with lowercase_
Args:
data (dict): Dictionary with keys that have upper cases in them
Example.. FooBar == foo_bar
Expand Down Expand Up @@ -758,6 +759,7 @@ def create(client, subnet_id, allocation_id, client_token=None,
err_msg = str(e)
success = False
changed = False
result = None

return success, changed, err_msg, result

Expand Down

0 comments on commit 36c2c6c

Please sign in to comment.