assert without redundant ()
This commit is contained in:
parent
f61fd02ac7
commit
55412b94d2
@ -20,7 +20,7 @@ def line_split(line):
|
|||||||
toks = line.split('", "')
|
toks = line.split('", "')
|
||||||
if len(toks) != 2:
|
if len(toks) != 2:
|
||||||
print(line)
|
print(line)
|
||||||
assert (0)
|
assert 0
|
||||||
# Replace fixed position.
|
# Replace fixed position.
|
||||||
# Because toks[1] may be v") or v"),
|
# Because toks[1] may be v") or v"),
|
||||||
k = toks[0][toks[0].find('"') + 1:]
|
k = toks[0][toks[0].find('"') + 1:]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user