BaseTools:There is extra blank line in datalog

There should be no blank line across every
line in datalog if open it with Notepad++.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
This commit is contained in:
Zhiju Fan 2019-01-07 13:28:44 +08:00 committed by Feng, Bob C
parent b3e94a0617
commit 30e65c4e19
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ def FileLinesSplit(Content=None, MaxLength=None):
for NewLine in NewContentList: for NewLine in NewContentList:
NewContent += NewLine + TAB_LINE_BREAK NewContent += NewLine + TAB_LINE_BREAK
NewContent = NewContent.replace(TAB_LINE_BREAK, gEndOfLine).replace('\r\r\n', gEndOfLine) NewContent = NewContent.replace(gEndOfLine, TAB_LINE_BREAK).replace('\r\r\n', gEndOfLine)
return NewContent return NewContent