From 30e65c4e196b2d162b648212bf049e9353590997 Mon Sep 17 00:00:00 2001 From: Zhiju Fan Date: Mon, 7 Jan 2019 13:28:44 +0800 Subject: [PATCH] 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 Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhiju.Fan Tested-by: Laszlo Ersek Tested-by: Ard Biesheuvel Reviewed-by: Liming Gao Reviewed-by: Bob Feng --- BaseTools/Source/Python/build/BuildReport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Source/Python/build/BuildReport.py b/BaseTools/Source/Python/build/BuildReport.py index b940de1c90..ff632b6759 100644 --- a/BaseTools/Source/Python/build/BuildReport.py +++ b/BaseTools/Source/Python/build/BuildReport.py @@ -250,7 +250,7 @@ def FileLinesSplit(Content=None, MaxLength=None): for NewLine in NewContentList: 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 -- 2.39.2