From 015c6634644a11e5a3ca9d7dafe22ba62b87f2dd Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 15 Jul 2022 14:59:06 -0700 Subject: [PATCH] Fixed lint errors, refs #454 --- sqlite_utils/cli.py | 2 +- sqlite_utils/db.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sqlite_utils/cli.py b/sqlite_utils/cli.py index 0af947d..c940b30 100644 --- a/sqlite_utils/cli.py +++ b/sqlite_utils/cli.py @@ -1474,7 +1474,7 @@ def create_table( @click.argument("table") @click.argument("new_table") @load_extension_option -def create_table(path, table, new_table, load_extension): +def duplicate(path, table, new_table, load_extension): """ Create a duplicate of this table, copying across the schema and all row data. """ diff --git a/sqlite_utils/db.py b/sqlite_utils/db.py index 4755ea2..a2a30f9 100644 --- a/sqlite_utils/db.py +++ b/sqlite_utils/db.py @@ -1,4 +1,3 @@ -from ast import Not from .utils import ( chunks, hash_record,