From 62f82cea03768fd099cffc073a8dbdf5850f4415 Mon Sep 17 00:00:00 2001 From: Steve Pulec Date: Fri, 5 Jun 2015 21:37:47 -0400 Subject: [PATCH] Python3 fix. --- moto/route53/responses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/route53/responses.py b/moto/route53/responses.py index f565bb6809f9..835c41c20d24 100644 --- a/moto/route53/responses.py +++ b/moto/route53/responses.py @@ -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]