Skip to content

Commit

Permalink
use islower()
Browse files Browse the repository at this point in the history
Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
  • Loading branch information
SpaceIm and RubenRBS committed Jan 23, 2023
1 parent 6b1fcd9 commit 1f2de21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/conan-center.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1f2de21

Please sign in to comment.