Skip to content

Commit 0792da7

Browse files
authored
Merge pull request #819 from The-OpenROAD-Project-private/rules-newlines
genRuleFile.py: rm extra blank lines in the output
2 parents 2296671 + ad92da3 commit 0792da7

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)