dbfixup: more verbose const assertion

Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
John McMaster 2018-11-12 10:51:31 -08:00
parent 81cdbbc96f
commit bcaf5c207d
1 changed files with 2 additions and 1 deletions

View File

@ -136,7 +136,8 @@ def add_zero_bits(fn_in, fn_out, zero_db, clb_int=False, verbose=False):
tag, bits, mode = parse_line(line)
assert mode not in (
"<const0>", "<const1>"), "Entries must be resolved"
"<const0>",
"<const1>"), "Entries must be resolved. line: %s" % (line, )
if mode:
assert mode == "<0 candidates>"
"""