From 7df0793441b670c722310d038938d44748a925ec Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Wed, 13 Aug 2014 19:27:49 +0300 Subject: Fix dict.keys() in Python 3. --- mediagoblin/gmg_commands/dbupdate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediagoblin/gmg_commands/dbupdate.py b/mediagoblin/gmg_commands/dbupdate.py index 8fad99b4..f0a7739e 100644 --- a/mediagoblin/gmg_commands/dbupdate.py +++ b/mediagoblin/gmg_commands/dbupdate.py @@ -131,7 +131,7 @@ def run_all_migrations(db, app_config, global_config): """ # Gather information from all media managers / projects dbdatas = gather_database_data( - global_config.get('plugins', {}).keys()) + list(global_config.get('plugins', {}).keys())) Session = sessionmaker(bind=db.engine) -- cgit v1.2.3