mirror of https://github.com/VLSIDA/OpenRAM.git
resolved variable name error in 00_code_format test
This commit is contained in:
parent
af43fb6276
commit
a5af4a2b9c
|
|
@ -69,9 +69,9 @@ def check_file_format_tab(file_name):
|
||||||
if len(key_positions)>10:
|
if len(key_positions)>10:
|
||||||
line_numbers = key_positions[:10] + [" ..."]
|
line_numbers = key_positions[:10] + [" ..."]
|
||||||
else:
|
else:
|
||||||
line_numbers = key_positoins
|
line_numbers = key_positions
|
||||||
debug.info(0, '\nFound ' + str(len(key_positions)) + ' tabs in ' +
|
debug.info(0, '\nFound ' + str(len(key_positions)) + ' tabs in ' +
|
||||||
str(file_name) + ' (lines ' + ",".join(str(x) for x in line_positions) + ')')
|
str(file_name) + ' (lines ' + ",".join(str(x) for x in line_numbers) + ')')
|
||||||
f.close()
|
f.close()
|
||||||
return len(key_positions)
|
return len(key_positions)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue