diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-08-13 19:27:49 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2014-08-13 19:27:49 +0300 |
commit | 7df0793441b670c722310d038938d44748a925ec (patch) | |
tree | 82a540c4708a72346a6391638fc0be1a20dcdd6f | |
parent | 4930c2adbd19238ffb1da45509bd5e0c5d85ce66 (diff) | |
download | mediagoblin-7df0793441b670c722310d038938d44748a925ec.tar.lz mediagoblin-7df0793441b670c722310d038938d44748a925ec.tar.xz mediagoblin-7df0793441b670c722310d038938d44748a925ec.zip |
Fix dict.keys() in Python 3.
-rw-r--r-- | mediagoblin/gmg_commands/dbupdate.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |