Remove unused imports in db migrations
I went on a hike through the migrations and decided to apply the boyscout rule. Scouts honor. Change-Id: I10c677cfd5186edce3ca96495eafc732168cac86
This commit is contained in:
parent
ee640fc2da
commit
5d53e99e0a
|
@ -17,7 +17,6 @@
|
|||
|
||||
from migrate.changeset import *
|
||||
from sqlalchemy import *
|
||||
from sqlalchemy.sql import and_, not_
|
||||
|
||||
from glance.db.sqlalchemy.migrate_repo.schema import (
|
||||
Boolean, DateTime, Integer, String, Text, from_migration_import)
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
from migrate.changeset import *
|
||||
from sqlalchemy import *
|
||||
from sqlalchemy.sql import and_, not_
|
||||
|
||||
from glance.db.sqlalchemy.migrate_repo.schema import (
|
||||
Boolean, DateTime, Integer, String, Text, from_migration_import)
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
from migrate.changeset import *
|
||||
from sqlalchemy import *
|
||||
from sqlalchemy.sql import and_, not_
|
||||
|
||||
from glance.db.sqlalchemy.migrate_repo.schema import (
|
||||
Boolean, DateTime, Integer, String, Text, from_migration_import)
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
from migrate.changeset import *
|
||||
from sqlalchemy import *
|
||||
from sqlalchemy.sql import and_, not_
|
||||
|
||||
from glance.db.sqlalchemy.migrate_repo.schema import (
|
||||
Boolean, DateTime, BigInteger, Integer, String,
|
||||
|
|
|
@ -19,8 +19,8 @@ from migrate.changeset import *
|
|||
from sqlalchemy import *
|
||||
|
||||
from glance.db.sqlalchemy.migrate_repo.schema import (
|
||||
Boolean, DateTime, BigInteger, Integer, String, Text,
|
||||
create_tables, drop_tables, from_migration_import)
|
||||
Boolean, DateTime, Integer, String, create_tables,
|
||||
drop_tables, from_migration_import)
|
||||
|
||||
|
||||
def get_images_table(meta):
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
from migrate.changeset import *
|
||||
from sqlalchemy import *
|
||||
from sqlalchemy.sql import and_, not_
|
||||
|
||||
from glance.db.sqlalchemy.migrate_repo.schema import (
|
||||
Boolean, DateTime, Integer, String, Text, from_migration_import)
|
||||
|
|
|
@ -21,7 +21,6 @@ there are known issues with these libraries so SQLite and non-SQLite
|
|||
migrations must be done separately.
|
||||
"""
|
||||
|
||||
import copy
|
||||
import migrate
|
||||
import sqlalchemy
|
||||
|
||||
|
|
Loading…
Reference in New Issue