From 1f2de2193f1ce95c1699a51b91c6536636ca3fd6 Mon Sep 17 00:00:00 2001 From: SpaceIm <30052553+SpaceIm@users.noreply.github.com> Date: Mon, 23 Jan 2023 11:43:30 +0100 Subject: [PATCH] use islower() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Rubén Rincón Blanco --- hooks/conan-center.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/conan-center.py b/hooks/conan-center.py index 0ba8fdb2..1d61e497 100644 --- a/hooks/conan-center.py +++ b/hooks/conan-center.py @@ -1344,7 +1344,7 @@ def test(out): uppercase_system_libs = [] def _collect_uppercase_system_libs(component): - uppercase_system_libs.extend([lib for lib in component.system_libs if lib != lib.lower()]) + uppercase_system_libs.extend([lib for lib in component.system_libs if not lib.islower())]) if not conanfile.cpp_info.components: _collect_uppercase_system_libs(conanfile.cpp_info)