summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source
diff options
context:
space:
mode:
authorZhiju Fan <zhijux.fan@intel.com>2019-01-07 13:28:44 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-02-01 11:09:22 +0800
commit30e65c4e196b2d162b648212bf049e9353590997 (patch)
treeedc25f36c053eac3563e3b88bde8e96a1d976a16 /BaseTools/Source
parentb3e94a06172113991f28a1eff096255c65702a0c (diff)
downloadedk2-30e65c4e196b2d162b648212bf049e9353590997.tar.gz
edk2-30e65c4e196b2d162b648212bf049e9353590997.tar.bz2
edk2-30e65c4e196b2d162b648212bf049e9353590997.zip
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>
Diffstat (limited to 'BaseTools/Source')
-rw-r--r--BaseTools/Source/Python/build/BuildReport.py2
1 files changed, 1 insertions, 1 deletions
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