Skip to content

Commit 7b3e6c2

Browse files
committed
Remove duplicated newline
1 parent 9825253 commit 7b3e6c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinxnotes/snippet/table.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def tablify(indexes: Dict[IndexID,Index], kinds:str, width:int) -> Iterator[str]
3333
ellipsis.ellipsis(COLUMNS[1].upper(), kind_width, blank_sym=' '),
3434
ellipsis.ellipsis(COLUMNS[2].upper(), excerpt_width, blank_sym=' '),
3535
ellipsis.ellipsis(COLUMNS[3].upper(), path_width, blank_sym=' ' ),
36-
COLUMNS[4].upper()]) + '\n'
36+
COLUMNS[4].upper()])
3737
yield header
3838

3939
# Write rows
@@ -46,5 +46,5 @@ def tablify(indexes: Dict[IndexID,Index], kinds:str, width:int) -> Iterator[str]
4646
ellipsis.ellipsis(f'[{index[0]}]', kind_width, blank_sym=' '), # Kind
4747
ellipsis.ellipsis(index[1], excerpt_width, blank_sym=' '), # Excerpt
4848
ellipsis.join(index[2], path_width, path_comp_width, blank_sym=' ' ), # Titleppath
49-
','.join(index[3])]) + '\n' # Keywords
49+
','.join(index[3])]) # Keywords
5050
yield row

0 commit comments

Comments
 (0)