diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-03-19 16:44:34 +0200 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2014-05-08 20:33:14 +0300 |
commit | 7f342c72f64594775bac1bcce81b32ae9e18e6ac (patch) | |
tree | 4e4c1e7657bdb3d7d83b23c60143632e5a02945e /mediagoblin/db/migration_tools.py | |
parent | 74e77c36888b9fbec7e4f8f2b0f1d0e0487ed6b4 (diff) | |
download | mediagoblin-7f342c72f64594775bac1bcce81b32ae9e18e6ac.tar.lz mediagoblin-7f342c72f64594775bac1bcce81b32ae9e18e6ac.tar.xz mediagoblin-7f342c72f64594775bac1bcce81b32ae9e18e6ac.zip |
Continue to port GMG codebase.
Diffstat (limited to 'mediagoblin/db/migration_tools.py')
-rw-r--r-- | mediagoblin/db/migration_tools.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>. +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 |