diff options
author | Zhiju Fan <zhijux.fan@intel.com> | 2019-01-11 13:04:44 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-02-01 11:09:21 +0800 |
commit | 62cb98c254c8c24f610a427c948ca68ba43d7882 (patch) | |
tree | 358786f7d1d69a7a2f8aa2e632a8d7876830c529 /BaseTools/Source/Python/GenFds/EfiSection.py | |
parent | 31e3eeb5e3d2d0b06416ad90d699de51d8761eda (diff) | |
download | edk2-62cb98c254c8c24f610a427c948ca68ba43d7882.tar.gz edk2-62cb98c254c8c24f610a427c948ca68ba43d7882.tar.bz2 edk2-62cb98c254c8c24f610a427c948ca68ba43d7882.zip |
BaseTools:Double carriage return inserted from Trim.py on Python3
https://bugzilla.tianocore.org/show_bug.cgi?id=1379
Line 208 of BaseTools/Source/Python/Trim/Trim.py uses
'NewLines.append(os.linesep)' to insert a new line into
the list that will be written to the output file.
This causes the '\r\n' inserted with os.linesep to be
written as '\r\r\n', causing some assemblers to error.
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/Python/GenFds/EfiSection.py')
0 files changed, 0 insertions, 0 deletions