diff options
author | Elrond <elrond+git.commit@samba-tng.org> | 2012-11-24 22:57:46 +0100 |
---|---|---|
committer | Elrond <elrond+git.commit@samba-tng.org> | 2012-11-24 22:57:46 +0100 |
commit | 9abd664bf2b1de34fc6de0f3b323727e47470e52 (patch) | |
tree | 097dfacf84e56f36dd5be68a11ed2d9c49f470ee | |
parent | 4211d0301486d3d2439049be0a15abfbe26280dd (diff) | |
download | mediagoblin-9abd664bf2b1de34fc6de0f3b323727e47470e52.tar.lz mediagoblin-9abd664bf2b1de34fc6de0f3b323727e47470e52.tar.xz mediagoblin-9abd664bf2b1de34fc6de0f3b323727e47470e52.zip |
Stop unicode conversion warning during dbupdate.
Just force the passed in name to MigrationManager() to unicode.
-rw-r--r-- | mediagoblin/db/sql/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |