From aab87a10553368293864b768ece514bec162a8bf Mon Sep 17 00:00:00 2001 From: Soeren Peters <peters@irmb.tu-bs.de> Date: Fri, 13 Nov 2020 17:05:07 +0100 Subject: [PATCH] Refactor boolean expression. --- utilities/filterCompileCommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/filterCompileCommands.py b/utilities/filterCompileCommands.py index 95d7e45fc..4158c5db7 100644 --- a/utilities/filterCompileCommands.py +++ b/utilities/filterCompileCommands.py @@ -5,7 +5,7 @@ import sys def compile_command_selector(x): - return not ("3rdParty" in x["file"]) or not (".cu" in x["file"]) + return not ("3rdParty" in x["file"] or ".cu" in x["file"]) if __name__ == "__main__": -- GitLab