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:
Alex Meade 2012-06-19 15:43:55 -04:00
parent ee640fc2da
commit 5d53e99e0a
7 changed files with 2 additions and 8 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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