From ae8548370a5e5e6d2e3267f4d1e7713d7c64e9d6 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 13 May 2019 10:53:31 +0200 Subject: 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 Tested-by: Michael Stahl --- bin/get-bugzilla-attachments-by-mimetype | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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) -- cgit