about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTulio Magno Quites Machado Filho <tuliom@redhat.com>2023-03-28 12:10:24 -0300
committerTulio Magno Quites Machado Filho <tuliom@redhat.com>2023-03-28 12:15:20 -0300
commit67e8c4f100903bf8111435f0ce574806d961cbad (patch)
tree4f831e4dca9e8c5b016f8379d7f8b55018b637af
parent5d9c1bc3a39900724ed1bc08e500052f44043032 (diff)
downloadafl++-67e8c4f100903bf8111435f0ce574806d961cbad.tar.gz
Fix unsupported operands in .custom-format.py
Python 3.11 complains that int and str are unsupported operand types for
operator +.
-rwxr-xr-x.custom-format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/.custom-format.py b/.custom-format.py
index d07c26df..1295ce55 100755
--- a/.custom-format.py
+++ b/.custom-format.py
@@ -40,7 +40,7 @@ def check_clang_format_pip_version():
     if importlib.util.find_spec('clang_format'):
         # Check if the installed version is the expected LLVM version
         if importlib.metadata.version('clang-format')\
-                .startswith(CURRENT_LLVM+'.'):
+                .startswith(str(CURRENT_LLVM)+'.'):
             return True
         else:
             # Return False, because the clang-format version does not match