Change string.join => "".join for simultaneous Python 2/3 support

Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
David A. Wheeler 2017-08-12 21:18:11 -04:00
parent 05c238acc6
commit 94164014da
1 changed files with 1 additions and 1 deletions

View File

@ -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):