Skip to content

Commit ad92da3

Browse files
committed
genRuleFile.py: rm extra blank lines in the output
Signed-off-by: Matt Liberty <[email protected]>
1 parent 470955d commit ad92da3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flow/util/genRuleFile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ def gen_rule_file(design_dir, update, tighten, failing, variant, golden_metrics=
289289
rules[field] = dict(value=rule_value, compare=option['compare'])
290290

291291
if len(change_str) > 0:
292-
print(format_str.format('Metric', 'Old', 'New', 'Type'))
293-
print(format_str.format('------', '---', '---', '----'))
292+
print(format_str.format('Metric', 'Old', 'New', 'Type'), end='')
293+
print(format_str.format('------', '---', '---', '----'), end='')
294294
print(change_str)
295295

296296
with open(rules_file, 'w') as f:

0 commit comments

Comments
 (0)