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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Mar 20 13:31:38 UTC 2019


 esc-reporting/esc-automate.py |    5 +++--
 esc-reporting/esc-collect.py  |    3 +--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit e2d35999855e242fea6855acc8c2a3afb2433608
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Wed Mar 20 14:29:19 2019 +0100
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Wed Mar 20 14:29:19 2019 +0100

    ESC: workaround pdftk unicode issues

diff --git a/esc-reporting/esc-automate.py b/esc-reporting/esc-automate.py
index 3a8c5ee..63b5a75 100755
--- a/esc-reporting/esc-automate.py
+++ b/esc-reporting/esc-automate.py
@@ -27,7 +27,7 @@ import datetime
 import json
 import requests
 from requests.auth import HTTPDigestAuth
-
+import unidecode
 
 def util_load_data_file(fileName):
     try:
@@ -154,7 +154,8 @@ def handle_mail_pdf(email, name):
     global cfg, pdfFieldData
 
     xDate = cfg['nowDate'].strftime('%Y-%m-%d')
-    x = pdfFieldData.replace('/V ()', '/V (' + xDate + ')', 1).replace('/V ()', '/V (' + name + ')', 1)
+    x = pdfFieldData.replace('/V ()', '/V (' + xDate + ')', 1).replace('/V ()', '/V (' + \
+            unidecode.unidecode(name) + ')', 1)
 
     fileFdf = '/tmp/fields.fdf'
     fp = open(fileFdf, 'w')
commit 2292ad78e9f5f00a1731557b36b13fe65e8aef8c
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Wed Mar 20 11:11:01 2019 +0100
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Wed Mar 20 11:11:01 2019 +0100

    ESC: This is a duplicate parameter

diff --git a/esc-reporting/esc-collect.py b/esc-reporting/esc-collect.py
index 52b266d..aba5a58 100755
--- a/esc-reporting/esc-collect.py
+++ b/esc-reporting/esc-collect.py
@@ -505,8 +505,7 @@ def get_esc_bugzilla(cfg):
           '&bug_status=ASSIGNED' \
           '&bug_status=REOPENED' \
           '&bug_status=PLEASETEST' \
-          '&keywords=regression%2C filter%3Artf%2C ' \
-          '&keywords_type=allwords'
+          '&keywords=regression%2C filter%3Artf%2C '
     rawList['ESC_COMPONENT_UPDATE']['all']['RTL']['count'], \
     rawList['ESC_COMPONENT_UPDATE']['all']['RTL']['list'] = do_ESC_counting(bz, url)
 


More information about the Libreoffice-commits mailing list