Merge pull request #3042 from matthiaskrgr/py3

update_lints.py: port another print to print() for python3 compatibility.
This commit is contained in:
Martin Carton 2018-08-12 19:11:07 +02:00 committed by GitHub
commit b6f08780de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,7 +107,7 @@ def replace_region(fn, region_start, region_end, callback,
new_lines.append(line) new_lines.append(line)
if not found: if not found:
print "regex " + region_start + " not found" print("regex " + region_start + " not found")
# write back to file # write back to file
if write_back: if write_back: