From 9df9b7a5cbef4377e7660006ec9f5c530ed2b83d Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 8 Apr 2020 14:24:52 -0700 Subject: [PATCH] Use SafeLoader in irc_checks This clears a python warning. Change-Id: I79e088efb2a825a71723f97d563c96658f7f15ba --- tools/irc_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/irc_checks.py b/tools/irc_checks.py index ba5662dbd2..25c4b709a0 100644 --- a/tools/irc_checks.py +++ b/tools/irc_checks.py @@ -22,7 +22,7 @@ def check_meetbot(): errors = False - config = yaml.load(open('hiera/common.yaml', 'r')) + config = yaml.load(open('hiera/common.yaml', 'r'), Loader=yaml.SafeLoader) meetbot_channels = config['meetbot_channels'] # IRC has a limit of 120 channels that we unfortunately hit with # gerritbot. If we try connect to more, it will not connect to