Commit b14aeb7c by MRocholl Committed by Wenzel Jakob

fix typo in sorted function call argument reverse

parent 9358e30d
...@@ -258,7 +258,7 @@ def read_args(args): ...@@ -258,7 +258,7 @@ def read_args(args):
# versions and distributions. LLVM switched to a monolithical setup # versions and distributions. LLVM switched to a monolithical setup
# that includes everything under /usr/lib/llvm{version_number}/ # that includes everything under /usr/lib/llvm{version_number}/
# We therefore glob for the library and select the highest version # We therefore glob for the library and select the highest version
library_file = sorted(glob("/usr/lib/llvm-*/lib/libclang.so"), reversed=True)[0] library_file = sorted(glob("/usr/lib/llvm-*/lib/libclang.so"), reverse=True)[0]
cindex.Config.set_library_file(library_file) cindex.Config.set_library_file(library_file)
# clang doesn't find its own base includes by default on Linux, # clang doesn't find its own base includes by default on Linux,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment