From c0cebde1778472e650b2973b167939d256c06945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=82=8E=E6=B3=BC?= Date: Sat, 9 Mar 2024 12:26:23 +0800 Subject: [PATCH] Chore: fix build_change_log.py: yaml.safe_load() --- scripts/build_change_log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_change_log.py b/scripts/build_change_log.py index 757c6147b..7f46eb62d 100755 --- a/scripts/build_change_log.py +++ b/scripts/build_change_log.py @@ -11,7 +11,7 @@ from collections import defaultdict with open('scripts/change-types.yaml', 'r') as f: - typs = yaml.load(f.read()) + typs = yaml.safe_load(f.read()) typs = {x:x for x in typs}