gerritbot/send-daily-digest | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 2eb30f4f83c417e97095a87f99fa915c1fc86b39 Author: Mathias Michel <[email protected]> Date: Wed Sep 24 00:23:58 2014 +0200 fdo#84227 Use only last patchset for modules Change-Id: I5a1804507e1161aef2514dadb019d74eacfdae61 Reviewed-on: https://gerrit.libreoffice.org/11614 Reviewed-by: David Ostrovsky <[email protected]> Reviewed-by: Mathias M <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/gerritbot/send-daily-digest b/gerritbot/send-daily-digest index 19cb5b5..1fea363 100755 --- a/gerritbot/send-daily-digest +++ b/gerritbot/send-daily-digest @@ -43,8 +43,7 @@ def get_digest(query): change = json.loads(line) if 'url' in change.keys(): if do_fresh: # we are in new changes - fpaths = (set([fileobj['file'] for pset in change['patchSets'] - for fileobj in pset['files']])) + fpaths = (set([fileobj['file'] for fileobj in change['patchSets'][-1]['files']])) fpaths.remove('/COMMIT_MSG') # we assume gerrit replies with no leading slash # if no subfolder, module is "build"
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
