Use SafeLoader in irc_checks

This clears a python warning.

Change-Id: I79e088efb2a825a71723f97d563c96658f7f15ba
This commit is contained in:
James E. Blair 2020-04-08 14:24:52 -07:00
parent 1b4ae0e7ff
commit 9df9b7a5cb
1 changed files with 1 additions and 1 deletions

View File

@ -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