From 690402ccb3c7257a77ed76c4ebf6765643711d79 Mon Sep 17 00:00:00 2001 From: Alan Jaffe Date: Tue, 7 Jul 2015 15:38:08 -0400 Subject: [PATCH] Python 3 compatibility --- moto/dynamodb2/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/dynamodb2/models.py b/moto/dynamodb2/models.py index b538deb88..99c965612 100644 --- a/moto/dynamodb2/models.py +++ b/moto/dynamodb2/models.py @@ -220,7 +220,7 @@ class Table(object): else: current_attr = current - for key, val in expected.iteritems(): + for key, val in expected.items(): if 'Exists' in val and val['Exists'] == False: if key in current_attr: raise ValueError("The conditional request failed")