commit a7539c7be3cbfcb2e70c0341c4018c081b5978d4
parent 3571862b436b443b9948f718322639d21c46b85f
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Thu, 7 Dec 2017 15:52:34 +0100
names of changed files are fetched from _dict_
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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