From: Harutaka Kawamura Date: Tue, 11 Jan 2022 07:08:43 +0000 (+0900) Subject: Insert spaces in warning and error messages X-Git-Tag: rel_1_7_6~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85152025ddba1dbeb51b467f40eb36b795d2ca37;p=thirdparty%2Fsqlalchemy%2Falembic.git Insert spaces in warning and error messages --- diff --git a/alembic/ddl/sqlite.py b/alembic/ddl/sqlite.py index 863accc6..f9161472 100644 --- a/alembic/ddl/sqlite.py +++ b/alembic/ddl/sqlite.py @@ -66,14 +66,14 @@ class SQLiteImpl(DefaultImpl): # auto-gen constraint and an explicit one if const._create_rule is None: # type:ignore[attr-defined] raise NotImplementedError( - "No support for ALTER of constraints in SQLite dialect" + "No support for ALTER of constraints in SQLite dialect. " "Please refer to the batch mode feature which allows for " "SQLite migrations using a copy-and-move strategy." ) elif const._create_rule(self): # type:ignore[attr-defined] util.warn( "Skipping unsupported ALTER for " - "creation of implicit constraint" + "creation of implicit constraint. " "Please refer to the batch mode feature which allows for " "SQLite migrations using a copy-and-move strategy." ) @@ -81,7 +81,7 @@ class SQLiteImpl(DefaultImpl): def drop_constraint(self, const: "Constraint"): if const._create_rule is None: # type:ignore[attr-defined] raise NotImplementedError( - "No support for ALTER of constraints in SQLite dialect" + "No support for ALTER of constraints in SQLite dialect. " "Please refer to the batch mode feature which allows for " "SQLite migrations using a copy-and-move strategy." )