From 360096e701b5416b73d72ab764e05fd83a35ca7e Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 27 Jun 2014 01:10:18 +0000 Subject: [PATCH] Make clang-tidy-diff.py py3-compatible. llvm-svn: 211834 --- clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py b/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py index 14ee0d6..aee6ab7 100755 --- a/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py +++ b/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py @@ -92,7 +92,7 @@ def main(): lines_by_file.setdefault(filename, []).append([start_line, end_line]) if len(lines_by_file) == 0: - print "No relevant changes found." + print("No relevant changes found.") sys.exit(0) line_filter_json = json.dumps( -- 2.7.4