This is an automated email from the ASF dual-hosted git repository.

gian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 44a7b09  Revert "Missing Loader parameter in generate-binary-license 
and generate-binary-notice py scripts (#11815)" (#11832)
44a7b09 is described below

commit 44a7b091908f8602d28ce4bffe791764e0ee57ad
Author: Clint Wylie <[email protected]>
AuthorDate: Sat Oct 23 08:34:26 2021 -0700

    Revert "Missing Loader parameter in generate-binary-license and 
generate-binary-notice py scripts (#11815)" (#11832)
    
    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]

Reply via email to