diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2020-07-06 03:01:51 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2020-07-10 01:34:54 +0200 |
commit | 493ae7a6bb0c3ad50615db0090e7ae8d391bc327 (patch) | |
tree | 9f60f522f1ff9dde6a8131d155654f4d47b37fd0 /bin/find-clang-format.py | |
parent | 005f5db47b8e1bbd7ebddee92009be072e835fd5 (diff) |
replace usage of blacklist with denylist
.. and a few cases of instead doing blacklist->excludelist where that
made more sense.
Background and motivation:
https://tools.ietf.org/html/draft-knodel-terminology-02
[API CHANGE] officecfg::Office::Canvas::DeviceBlacklist -> DeviceDenylist
[API CHANGE] officecfg::Office::Canvas::BlacklistCurrentDevice -> DenylistCurrentDevice
[API CHANGE] officecfg::Office::Common::Misc::OpenCLBlackList -> OpenCLDenyList
Change-Id: Ia35e25496bf0cc0692d5de4cb66bfc232d3a869e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98180
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'bin/find-clang-format.py')
-rwxr-xr-x | bin/find-clang-format.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/find-clang-format.py b/bin/find-clang-format.py index 38c9aac10780..713174114488 100755 --- a/bin/find-clang-format.py +++ b/bin/find-clang-format.py @@ -11,7 +11,7 @@ from difflib import unified_diff from pathlib import Path from subprocess import PIPE, Popen -BLACKLIST = Path("solenv/clang-format/blacklist") +EXCLUDELIST = Path("solenv/clang-format/excludelist") THRESHOLD = os.getenv("CLANG_THRESHOLD", 5) CLANG_BINARY = Path(os.getenv("CLANG_FORMAT", "/opt/lo/bin/clang-format")) @@ -47,7 +47,7 @@ def main(*args): print("Couldn't find clang-format on {!s}".format(CLANG_BINARY)) exit(1) - for path in BLACKLIST.read_text().splitlines(): + for path in EXCLUDELIST.read_text().splitlines(): path = Path(path) if not path.exists(): continue |