Fix migrations on Python 2.

This commit sponsored by Loïc Grobol.  Thank you!
This commit is contained in:
Christopher Allan Webber 2014-09-30 16:34:15 -05:00
parent 1a2982d6e3
commit 36e27c4b76

View File

@ -19,6 +19,9 @@ import uuid
import six
if six.PY2:
import migrate
from sqlalchemy import (MetaData, Table, Column, Boolean, SmallInteger,
Integer, Unicode, UnicodeText, DateTime,
ForeignKey, Date, Index)