commit 1ad145608ac61b272513cc42bccfdce14721276f
parent 13ff12c811fda692da9e45305528f963b0f71d82
Author: Devan Carpenter <devan@taler.net>
Date: Tue, 13 Jun 2023 00:11:53 -0400
buildbot: fix some syntactical errors
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
@@ -28,6 +28,7 @@ import os
import pathlib
import re
+from buildbot.changes.pb import PBChangeSource
from buildbot.steps.source.git import Git
from buildbot.steps.shell import ShellCommand
from buildbot.plugins import reporters
@@ -1249,7 +1250,7 @@ for reponame in container_repos:
fileNames.sort()
for filename in fileNames:
if filename.endswith('.sh'):
- basedir = pathlib.PurePath(parentDir)
+ basedir = pathlib.PurePath(parentDir).name
container_run_step(basedir,
container_factory,
CONTAINER_WORKDIR, reponame,
@@ -1404,7 +1405,7 @@ c["db"] = {
# the 'change_source' setting tells the buildmaster how it should
# find out about source code changes.
-c["change_source"] = [changes.PBChangeSource(user="allcs", passwd="allcs")]
+c["change_source"] = [PBChangeSource(user="allcs", passwd="allcs")]
# 'protocols' contains information about protocols which master
# will use for communicating with workers. You must define at