[Libreoffice-commits] dev-tools.git: gerritbot/send-daily-digest

Mathias Michel matm at gmx.fr
Wed Nov 19 01:27:54 PST 2014


 gerritbot/send-daily-digest |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 2eb30f4f83c417e97095a87f99fa915c1fc86b39
Author: Mathias Michel <matm at gmx.fr>
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 <david at ostrovsky.org>
    Reviewed-by: Mathias M <matm at gmx.fr>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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"


More information about the Libreoffice-commits mailing list