summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2017-12-07 15:52:34 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2017-12-07 15:52:34 +0100
commita7539c7be3cbfcb2e70c0341c4018c081b5978d4 (patch)
treee51665e7f0d6054cf766f9797e3b39d5a4df5331
parent3571862b436b443b9948f718322639d21c46b85f (diff)
downloaddeployment-a7539c7be3cbfcb2e70c0341c4018c081b5978d4.tar.gz
deployment-a7539c7be3cbfcb2e70c0341c4018c081b5978d4.tar.bz2
deployment-a7539c7be3cbfcb2e70c0341c4018c081b5978d4.zip
names of changed files are fetched from _dict_
-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