diff --git a/cbl_migrator/migrator.py b/cbl_migrator/migrator.py index f70ca8d..8a14a71 100644 --- a/cbl_migrator/migrator.py +++ b/cbl_migrator/migrator.py @@ -237,7 +237,9 @@ def __copy_schema(self): for cons in table.constraints if isinstance(cons, CheckConstraint) ]: - if not any(col in str(cc.sqltext).lower() for col in excluded_fields): + if not any( + col in str(cc.sqltext).lower() for col in excluded_fields + ): cc.sqltext = TextClause(str(cc.sqltext).replace('"', "")) keep_constraints.append(cc) table.constraints = set(keep_constraints)