From 9339a476d2b2c7d23d254c11fa474f6e69426611 Mon Sep 17 00:00:00 2001 From: TheDooner64 Date: Sun, 5 Aug 2018 19:46:40 -0400 Subject: [PATCH] Adjust glue get_tables method to use items instead of iteritems --- moto/glue/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/glue/models.py b/moto/glue/models.py index 9f7e7657d..09b7d60ed 100644 --- a/moto/glue/models.py +++ b/moto/glue/models.py @@ -37,7 +37,7 @@ class GlueBackend(BaseBackend): def get_tables(self, database_name): database = self.get_database(database_name) - return [table for table_name, table in database.tables.iteritems()] + return [table for table_name, table in database.tables.items()] class FakeDatabase(BaseModel):