From: Zhiju Fan Date: Mon, 7 Jan 2019 05:28:44 +0000 (+0800) Subject: BaseTools:There is extra blank line in datalog X-Git-Tag: edk2-stable201903~215 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=30e65c4e196b2d162b648212bf049e9353590997;hp=b3e94a06172113991f28a1eff096255c65702a0c 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 --- 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