From 94164014daaa87c37904b73f46ed75e77bbb6bdd Mon Sep 17 00:00:00 2001 From: "David A. Wheeler" Date: Sat, 12 Aug 2017 21:18:11 -0400 Subject: [PATCH] Change string.join => "".join for simultaneous Python 2/3 support Signed-off-by: David A. Wheeler --- flawfinder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flawfinder b/flawfinder index f068743..b226a54 100755 --- a/flawfinder +++ b/flawfinder @@ -1475,7 +1475,7 @@ def process_c_file(f, patch_infos): print("Examining", f) sys.stdout.flush() - text = string.join(input.readlines(), "") + text = "".join(input.readlines()) i = 0 while i < len(text):