summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Table/TableIdentifier.py
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2020-02-28 00:39:03 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-03-04 15:22:07 +0300
commite63d54db952634c2a3a6a24b6c2a4c6ff66f22bd (patch)
tree3bbaa2c069294e078b7aa3830054dc3ef0a2cfa6 /BaseTools/Source/Python/Table/TableIdentifier.py
parenta5c2ce7cd136ee959951c5f220ff5d3018d4ac3b (diff)
downloadedk2-e63d54db952634c2a3a6a24b6c2a4c6ff66f22bd.tar.xz
ArmPlatformPkg: convert LFs to CRLF, expand hard TABs
We're going to switch the internal line terminators globally to LF at some point, but until then, let's use CRLF consistently. Convert source files with LFs in them to CRLF, using "unix2dos". "git show -b" prints no code changes for this patch. (I collected all the file name suffixes in this package, with: $ git ls-files -- $PACKAGE | rev | cut -f 1 -d . | sort -u | rev I eliminated those suffixes that didn't stand for text files, then blanket-converted the rest with unix2dos. Finally, picked up the actual changes with git-add.) At the same time, the following file had to undergo TAB expansion: ArmPlatformPkg/Scripts/Ds5/profile.py I used "expand -t 4", conforming to the Indentation section of PEP-8 <https://www.python.org/dev/peps/pep-0008/#indentation>. Both the CRLF conversion and the TAB expansion are motivated by "PatchCheck.py". "PatchCheck.py" is also the reason why CRLF conversion and TAB expansion have to happen in the same patch. Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1659 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20200227213903.13884-4-lersek@redhat.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python/Table/TableIdentifier.py')
0 files changed, 0 insertions, 0 deletions