diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2017-12-07 15:33:20 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2017-12-07 15:33:20 +0100 |
commit | 3571862b436b443b9948f718322639d21c46b85f (patch) | |
tree | 7b462853068b0ecf1bded134a461599e1d984321 /buildbot | |
parent | 6df193674daf2591e0f7841a6cbc3f9513fd7313 (diff) | |
download | deployment-3571862b436b443b9948f718322639d21c46b85f.tar.gz deployment-3571862b436b443b9948f718322639d21c46b85f.tar.bz2 deployment-3571862b436b443b9948f718322639d21c46b85f.zip |
TypeError related to list of changed files
Diffstat (limited to 'buildbot')
-rw-r--r-- | buildbot/master.cfg | 6 |
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 |