From cda1b97c2e9feab5332b61116a3196403fe85b13 Mon Sep 17 00:00:00 2001 From: nickthetait Date: Wed, 14 Mar 2018 01:08:25 -0600 Subject: [PATCH] Standardize membership checking style Reported as E713 by pycodestyle Signed-off-by: nickthetait --- flawfinder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flawfinder b/flawfinder index 2b2cf30..a64521e 100755 --- a/flawfinder +++ b/flawfinder @@ -1450,7 +1450,7 @@ def process_c_file(f, patch_infos): linebegin = 1 codeinline = 0 # 1 when we see some code (so increment sloc at newline) - if (patch_infos is not None) and (not f in patch_infos): + if (patch_infos is not None) and (f not in patch_infos): # This file isn't in the patch list, so don't bother analyzing it. if not quiet: if output_format: @@ -2063,7 +2063,7 @@ def show_final_results(): if output_format: print("