fix syntaxys

This commit is contained in:
Andrei Yankovich 2020-06-19 10:46:42 +03:00
parent b9286096d1
commit f43f485789

View File

@ -1,7 +1,5 @@
# This Python file uses the following encoding: utf-8
from BuildBotLib.buildBotModule import BuildBotModule
from buildbot.plugins import changes
import os
from BuildBotLib.secretManager import SecretManager
@ -12,11 +10,13 @@ class BuildBotChangeSource(BuildBotModule):
secret = SecretManager("/home/andrei/buildBotSecret/secret.json")
self.masterConf['www']['change_hook_dialects'] = [
{ 'github': {
'secret': secret.getValue('WebHook'),
'token': secret.getValue('gitHub'),
'strict': True
},
{
'github':
{
'secret': secret.getValue('WebHook'),
'token': secret.getValue('gitHub'),
'strict': True,
},
},
]