mirror of https://github.com/milvus-io/milvus.git
comment unused import (#8993)
correct `assert` usage in never reached code Signed-off-by: donno2048 <just4now666666@gmail.com>pull/9059/head
parent
f24025f477
commit
e39f46cfb2
|
@ -1,7 +1,5 @@
|
|||
#!python
|
||||
from meta_gen import *
|
||||
import copy
|
||||
import sys
|
||||
import re
|
||||
|
||||
def assemble(template, **kwargs):
|
||||
|
@ -30,6 +28,7 @@ def assemble(template, **kwargs):
|
|||
return mapping["main"]
|
||||
|
||||
|
||||
# import sys
|
||||
# if __name__ == "__main__":
|
||||
# assert(len(sys.argv) == 2)
|
||||
# root_file = sys.argv[1]
|
||||
|
|
|
@ -43,7 +43,7 @@ def meta_gen(content):
|
|||
eprint(struct_name)
|
||||
eprint(body_res)
|
||||
eprint(body)
|
||||
assert(false)
|
||||
assert False
|
||||
struct_name, base_name = pack
|
||||
if not base_name:
|
||||
root_base = struct_name
|
||||
|
|
Loading…
Reference in New Issue