diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2019-05-13 10:53:31 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2019-05-13 11:01:54 +0200 |
commit | ae8548370a5e5e6d2e3267f4d1e7713d7c64e9d6 (patch) | |
tree | 5c2e95289349ea821e4cd6cabb31945f184053dd | |
parent | acd820fd39394acc9829836a597c277d8965242e (diff) |
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@cib.de>
Tested-by: Michael Stahl <Michael.Stahl@cib.de>
-rwxr-xr-x | bin/get-bugzilla-attachments-by-mimetype | 4 |
1 files changed, 2 insertions, 2 deletions
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) |