Skip to content

Commit

Permalink
Python3 fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
spulec committed Jun 6, 2015
1 parent 57f1199 commit 62f82ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moto/route53/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def rrset_response(request, full_url, headers):
action = value['Action']
record_set = value['ResourceRecordSet']
if action == 'CREATE':
resource_records = record_set['ResourceRecords'].values()[0]
resource_records = list(record_set['ResourceRecords'].values())[0]
if not isinstance(resource_records, list):
# Depending on how many records there are, this may or may not be a list
resource_records = [resource_records]
Expand Down

0 comments on commit 62f82ce

Please sign in to comment.