fix simple error

This commit is contained in:
Andrei Yankovich 2020-12-22 14:44:24 +03:00
parent 982999e5b0
commit ddab3fd0a0

View File

@ -18,7 +18,8 @@ class BuildBotServices(BuildBotModule):
# has a variety to choose from, like IRC bots. # has a variety to choose from, like IRC bots.
self.masterConf['services'] = [] self.masterConf['services'] = []
secret = SecretManager(str(Path.home()) + "buildBotSecret/secret.json") secretPath = str(Path.home()) + "/buildBotSecret/secret.json"
secret = SecretManager(secretPath)
contextVal = util.Interpolate("buildbot/%(prop:buildername)s") contextVal = util.Interpolate("buildbot/%(prop:buildername)s")
gc = reporters.GitHubStatusPush(token=secret.getValue('gitHub'), gc = reporters.GitHubStatusPush(token=secret.getValue('gitHub'),