From 9abd664bf2b1de34fc6de0f3b323727e47470e52 Mon Sep 17 00:00:00 2001 From: Elrond Date: Sat, 24 Nov 2012 22:57:46 +0100 Subject: [PATCH] Stop unicode conversion warning during dbupdate. Just force the passed in name to MigrationManager() to unicode. --- mediagoblin/db/sql/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediagoblin/db/sql/util.py b/mediagoblin/db/sql/util.py index 74b5d73e..bd92393c 100644 --- a/mediagoblin/db/sql/util.py +++ b/mediagoblin/db/sql/util.py @@ -39,7 +39,7 @@ class MigrationManager(object): - migration_registry: where we should find all migrations to run """ - self.name = name + self.name = unicode(name) self.models = models self.session = session self.migration_registry = migration_registry -- 2.25.1