Stop unicode conversion warning during dbupdate.

Just force the passed in name to MigrationManager() to unicode.
This commit is contained in:
Elrond 2012-11-24 22:57:46 +01:00
parent 4211d03014
commit 9abd664bf2

View File

@ -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