summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildbot/master.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index e90606a..c63a144 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -61,9 +61,9 @@ def doc_filter(change):
_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):
+ if re.search(r"doc|manual", file.get("name", "")):
return True
return False