commit 3571862b436b443b9948f718322639d21c46b85f parent 6df193674daf2591e0f7841a6cbc3f9513fd7313 Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Thu, 7 Dec 2017 15:33:20 +0100 TypeError related to list of changed files Diffstat:
| M | buildbot/master.cfg | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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