summaryrefslogtreecommitdiff
path: root/migrate/changeset/databases/sqlite.py
diff options
context:
space:
mode:
authorDavid Ripton <dripton@redhat.com>2014-02-26 15:04:54 -0500
committerDavid Ripton <dripton@redhat.com>2014-02-26 15:04:54 -0500
commitd6fbf12989e85b8cdbd0202653ef6a2709c16bf5 (patch)
tree4b48c826064052840e18ac1ee1d7a6e59016f543 /migrate/changeset/databases/sqlite.py
parent21fcdad0f485437d010e5743626c63ab3acdaec5 (diff)
downloadsqlalchemy-migrate-d6fbf12989e85b8cdbd0202653ef6a2709c16bf5.tar.gz
Eradicate trailing whitespace
Remove all trailing spaces and tabs in every file in the project. People have editors configured to do this, which causes them to accidentally make little whitespace changes in unrelated commits, which makes those commits harder to review. Better to fix them all at once. Change-Id: I17d89f55f41d8599e0ab1a31f646cd161289703e
Diffstat (limited to 'migrate/changeset/databases/sqlite.py')
-rw-r--r--migrate/changeset/databases/sqlite.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/migrate/changeset/databases/sqlite.py b/migrate/changeset/databases/sqlite.py
index 5ddd3f1..6453422 100644
--- a/migrate/changeset/databases/sqlite.py
+++ b/migrate/changeset/databases/sqlite.py
@@ -42,7 +42,7 @@ class SQLiteHelper(SQLiteCommon):
self.execute()
self.append('DROP TABLE migration_tmp')
self.execute()
-
+
def visit_column(self, delta):
if isinstance(delta, DictMixin):
column = delta.result_column
@@ -52,7 +52,7 @@ class SQLiteHelper(SQLiteCommon):
table = self._to_table(column.table)
self.recreate_table(table,column,delta)
-class SQLiteColumnGenerator(SQLiteSchemaGenerator,
+class SQLiteColumnGenerator(SQLiteSchemaGenerator,
ansisql.ANSIColumnGenerator,
# at the end so we get the normal
# visit_column by default
@@ -78,7 +78,7 @@ class SQLiteColumnDropper(SQLiteHelper, ansisql.ANSIColumnDropper):
"""SQLite ColumnDropper"""
def _modify_table(self, table, column, delta):
-
+
columns = ' ,'.join(map(self.preparer.format_column, table.columns))
return 'INSERT INTO %(table_name)s SELECT ' + columns + \
' from migration_tmp'