From ca47cd7a0d2f5e55478286c6ecb6ac698b47232c Mon Sep 17 00:00:00 2001 From: yokoyama10 Date: Thu, 7 May 2020 03:21:23 +0900 Subject: [PATCH] Fixed build error with Python 3 (#765) Add parentheses to print methods in `generate_license_notice.py`. --- packager/tools/generate_license_notice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packager/tools/generate_license_notice.py b/packager/tools/generate_license_notice.py index 1a6f87ec21..2455cb81d4 100755 --- a/packager/tools/generate_license_notice.py +++ b/packager/tools/generate_license_notice.py @@ -116,9 +116,9 @@ def GenerateLicenseNotice(output_dir, output_license_file_name): license_files.sort() if output_license_file_name: - print 'Num License Files: {}\n'.format(len(license_files)) + print('Num License Files: {}\n'.format(len(license_files))) for license_file in license_files: - print license_file + print(license_file) # Include the main license file. content = _ReadFile(os.path.join(packager_dir, os.pardir, 'LICENSE'))