Skip to content

Commit b02e210

Browse files
committed
Python v3.8 does not support parenthesized context expressions.
1 parent e6d2334 commit b02e210

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/migrations/versions/255e2842e4d7_.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727

2828
def upgrade():
29-
with (op.batch_alter_table("server",
30-
table_kwargs={'sqlite_autoincrement': True}) as batch_op):
29+
with op.batch_alter_table("server",
30+
table_kwargs={'sqlite_autoincrement': True}) as batch_op:
3131
if context.get_impl().bind.dialect.name == "sqlite":
3232
batch_op.alter_column('id', autoincrement=True)
3333
batch_op.add_column(sa.Column('is_adhoc', sa.Integer(),

0 commit comments

Comments
 (0)