[Libreoffice-commits] core.git: bin/get-bugzilla-attachments-by-mimetype

Michael Stahl (via logerrit) logerrit at kemper.freedesktop.org
Mon May 13 09:02:37 UTC 2019


 bin/get-bugzilla-attachments-by-mimetype |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ae8548370a5e5e6d2e3267f4d1e7713d7c64e9d6
Author:     Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Mon May 13 10:53:31 2019 +0200
Commit:     Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Mon May 13 11:01:54 2019 +0200

    get-bugzilla-attachments-by-mimetype: fix get_through_rss_query
    
    This URL results in an error message and 0 results because "Changed" in
    the UI translates to "delta_ts", not "changed" apparently.
    
    Change-Id: I2bfdd682bb7fca229039970c209e7e409532059c
    Reviewed-on: https://gerrit.libreoffice.org/72219
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>
    Tested-by: Michael Stahl <Michael.Stahl at cib.de>

diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype
index a704b5461d67..9fb3d1da997b 100755
--- a/bin/get-bugzilla-attachments-by-mimetype
+++ b/bin/get-bugzilla-attachments-by-mimetype
@@ -260,8 +260,8 @@ def get_through_rss_query(queryurl, mimetype, prefix, suffix):
     if files != []:
         print('looking for updated bugs having %s attachment(s)' % mimetype)
         query_changed = query.copy()
-        query_changed['field0-1-0'] = 'changed'
-        query_changed['type0-1-0'] = 'changedbefore'
+        query_changed['field0-1-0'] = 'delta_ts'
+        query_changed['type0-1-0'] = 'greaterthaneq'
         query_changed['value0-1-0'] = get_changed_date(files).isoformat()
         process(query_changed, False)
 


More information about the Libreoffice-commits mailing list