[Libreoffice-commits] dev-tools.git: esc-reporting/esc-collect.py

jan Iversen jani at libreoffice.org
Thu May 18 12:09:47 UTC 2017


 esc-reporting/esc-collect.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e40973cc6231177fdae510ee3056969fe8c47fec
Author: jan Iversen <jani at libreoffice.org>
Date:   Thu May 18 14:08:30 2017 +0200

    esc-report, corrected searchdata in bugzilla collect

diff --git a/esc-reporting/esc-collect.py b/esc-reporting/esc-collect.py
index af44973..5c77d6a 100755
--- a/esc-reporting/esc-collect.py
+++ b/esc-reporting/esc-collect.py
@@ -141,9 +141,9 @@ def get_bugzilla(cfg):
     searchDate, rawList = util_load_data_file(cfg, fileName, 'bugzilla', {'bugs': {}})
     print("Updating bugzilla dump from " + rawList['newest-entry'])
 
-    searchDate - datetime.timedelta(days=1)
+    searchData = searchDate - datetime.timedelta(days=2)
     url = 'https://bugs.documentfoundation.org/rest/bug?' \
-          'f2=delta_ts&o2=greaterthaneq&query_format=advanced&resolution=---&v2=' + searchDate.strftime("%Y-%m-%d") + \
+          'f2=delta_ts&o2=greaterthaneq&query_format=advanced&v2=' + searchDate.strftime("%Y-%m-%d") + \
           '&limit=200&offset='
     newList = []
     while True:


More information about the Libreoffice-commits mailing list