Merge "Use SafeLoader in irc_checks"

This commit is contained in:
Zuul 2020-04-13 14:44:20 +00:00 committed by Gerrit Code Review
commit 37aee3e7d8
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