summaryrefslogtreecommitdiff
path: root/buildbot
diff options
context:
space:
mode:
Diffstat (limited to 'buildbot')
-rw-r--r--buildbot/master.cfg6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 3c41b33..e90606a 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -58,10 +58,10 @@ c["change_source"] = [ALLCS]
# Re-build documentation periodically
def doc_filter(change):
- changes = change.asDict()
- if changes.get("project") in ["api", "www"]:
+ _changes = change.asDict()
+ if _changes.get("project") in ["api", "www"]:
return True
- files = changes.get("files")
+ files = _changes.get("files", [])
for file in files:
if re.search(r"doc|manual", file):
return True