From 7f342c72f64594775bac1bcce81b32ae9e18e6ac Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Wed, 19 Mar 2014 16:44:34 +0200 Subject: Continue to port GMG codebase. --- mediagoblin/db/migration_tools.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mediagoblin/db/migration_tools.py') diff --git a/mediagoblin/db/migration_tools.py b/mediagoblin/db/migration_tools.py index e39070c3..e725f565 100644 --- a/mediagoblin/db/migration_tools.py +++ b/mediagoblin/db/migration_tools.py @@ -14,6 +14,8 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . +from __future__ import unicode_literals + from mediagoblin.tools.common import simple_printer from sqlalchemy import Table from sqlalchemy.sql import select @@ -39,7 +41,7 @@ class MigrationManager(object): - migration_registry: where we should find all migrations to run """ - self.name = unicode(name) + self.name = name self.models = models self.foundations = foundations self.session = session -- cgit v1.2.3