Skip to content

Commit 1566a63

Browse files
WinChuayongcai
and
yongcai
authored
fix: python3.10 not support multiline f-string (#73)
Co-authored-by: yongcai <yongcai@tencent.com>
1 parent 7ad606c commit 1566a63

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pyinnodb"
3-
version = "0.0.19"
3+
version = "0.0.20"
44
description = "A parser for InnoDB file formats, in Python"
55
authors = [
66
{ name = "WinChua", email = "winchua@foxmail.com" }

src/pyinnodb/cli/sql.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@ def dump_ibd(table_object, f, oneline=True):
7070
table_name = f"`{table_object.schema_ref}`.`{table_object.name}`"
7171
if not oneline:
7272
print(
73-
f"INSERT INTO {table_name}({','.join(
74-
table_object.keys()
75-
)}) values {', '.join(values)}"
73+
f"INSERT INTO {table_name}({','.join( table_object.keys() )}) values {', '.join(values)}"
7674
)
7775
else:
7876
for v in values:

0 commit comments

Comments
 (0)