Fixed build error with Python 3 (#765)

Add parentheses to print methods in `generate_license_notice.py`.
This commit is contained in:
yokoyama10 2020-05-07 03:21:23 +09:00 committed by GitHub
parent 7aefbeb27f
commit ca47cd7a0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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