This is an automated email from the ASF dual-hosted git repository. cwylie pushed a commit to branch revert-11815-missingloadingparameterpyscripts in repository https://gitbox.apache.org/repos/asf/druid.git
commit 94f6e31b7cea94d10eec58f51ab2e54e3a757b30 Author: Clint Wylie <[email protected]> AuthorDate: Fri Oct 22 14:48:44 2021 -0700 Revert "Missing Loader parameter in generate-binary-license and generate-binary-notice py scripts (#11815)" This reverts commit a7ee646927cfbdfc7d68f899ac0a0b90fd91812d. --- distribution/bin/generate-binary-license.py | 2 +- distribution/bin/generate-binary-notice.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/distribution/bin/generate-binary-license.py b/distribution/bin/generate-binary-license.py index e08fe04..e69bc70 100755 --- a/distribution/bin/generate-binary-license.py +++ b/distribution/bin/generate-binary-license.py @@ -137,7 +137,7 @@ def generate_license(apache_license_v2, license_yaml): # Print Apache license first. print_outfile(apache_license_v2) with open(license_yaml, encoding='utf-8') as registry_file: - licenses_list = list(yaml.load_all(registry_file, Loader=yaml.FullLoader)) + licenses_list = list(yaml.load_all(registry_file)) # Group licenses by license_name, license_category, and then module. licenses_map = {} diff --git a/distribution/bin/generate-binary-notice.py b/distribution/bin/generate-binary-notice.py index 5ab1d7c..a777881 100755 --- a/distribution/bin/generate-binary-notice.py +++ b/distribution/bin/generate-binary-notice.py @@ -57,7 +57,7 @@ def generate_notice(source_notice, dependences_yaml): # Print Apache license first. print_outfile(source_notice) with open(dependences_yaml, encoding='utf-8') as registry_file: - dependencies = list(yaml.load_all(registry_file, Loader=yaml.FullLoader)) + dependencies = list(yaml.load_all(registry_file)) # Group dependencies by module modules_map = defaultdict(list) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
