From 5b5a1e91a42fce0fd2b1cc0601ff4afb78eb643a 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:37:43 +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 53ef9acb3..996985125 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}