mirror of https://github.com/acidanthera/audk.git
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:
parent
b3e94a0617
commit
30e65c4e19
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue