From f29f6821f2d08e91c5c6d65d885a1bbc0c743bdd Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 22 Sep 2020 00:49:27 -0700 Subject: [PATCH] Applied Black --- sqlite_utils/db.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sqlite_utils/db.py b/sqlite_utils/db.py index bcab8a5..452c74a 100644 --- a/sqlite_utils/db.py +++ b/sqlite_utils/db.py @@ -869,7 +869,9 @@ class Table(Queryable): # Drop the old table sqls.append("DROP TABLE [{}];".format(self.name)) # Rename the new one - sqls.append("ALTER TABLE [{}] RENAME TO [{}];".format(new_table_name, self.name)) + sqls.append( + "ALTER TABLE [{}] RENAME TO [{}];".format(new_table_name, self.name) + ) if should_flip_foreign_keys_pragma: sqls.append("PRAGMA foreign_key_check;")