comment unused import (#8993)

correct `assert` usage in never reached code

Signed-off-by: donno2048 <just4now666666@gmail.com>
pull/9059/head
Elisha Hollander 2021-10-02 04:36:31 +03:00 committed by GitHub
parent f24025f477
commit e39f46cfb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -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]

View File

@ -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