Avoid some false his on the keyword 'usage'.
This commit is contained in:
parent
ecef4e1a91
commit
b5c52be244
1 changed files with 1 additions and 1 deletions
|
@ -652,7 +652,7 @@ def sanity_check(filename, lines):
|
|||
(key, prefix, unit_id, comment) = parse_attribute(lines[i])
|
||||
if unit_id[0] == "_":
|
||||
unit_id = unit_id[1:].strip()
|
||||
if "usage" in lines[i]:
|
||||
if "usage=" in lines[i]:
|
||||
(key, prefix, unit_usage, comment) = parse_attribute(lines[i])
|
||||
assert(unit_id)
|
||||
usage[unit_id] = unit_usage
|
||||
|
|
Loading…
Add table
Reference in a new issue