scripts/bz_comments.py   |    4 +---
 scripts/esc-mentoring.py |    2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

New commits:
commit b0b9fb85ecc6fdc0bb78bdc98279d000b739985e
Author: jan iversen <j...@documentfoundation.org>
Date:   Tue Mar 8 11:05:54 2016 +0100

    esc-mentoring
    
    Update due to version change of gerrit.

diff --git a/scripts/esc-mentoring.py b/scripts/esc-mentoring.py
index 4f41a1c..9e10575 100755
--- a/scripts/esc-mentoring.py
+++ b/scripts/esc-mentoring.py
@@ -83,7 +83,7 @@ def get_gerrit(doNonCom) :
       url = url + '+-ownerin:committer'
 
     # Add needed fields
-    url = url + '&o=DETAILED_LABELS&o=MESSAGES'
+    url = url + '&o=DETAILED_LABELS&o=MESSAGES&o=DETAILED_ACCOUNTS'
     #url = url + '&o=code_review&o=reviewers&pp=0'
 
     try:
commit 2e5cac9ab7f666db30efd6913411aa71a29609a2
Author: jan iversen <j...@documentfoundation.org>
Date:   Tue Mar 8 09:33:25 2016 +0100

    update to catch non standard bug reports.
    
    the convert to json, found a number of differences, these are now
    catched.

diff --git a/scripts/bz_comments.py b/scripts/bz_comments.py
index 67d6b1e..4709609 100755
--- a/scripts/bz_comments.py
+++ b/scripts/bz_comments.py
@@ -82,8 +82,7 @@ def optimize_bug(bug_org) :
          newText += 'who: UNKNOWN' + '\n' + line
        else :
          newText += 'who: ' + line['who']['@name'] + '/' + line['who']['#text']
-    for i in range(len(bug['long_desc'])-1, -1, -1) :
-       del bug['long_desc'][i]
+    bug['long_desc'] = []
     bug['long_desc'].append({'thetext' : newText})
     addAlso = 'https://issues.apache.org/ooo/show_bug.cgi?id='+bug['bug_id']
     if 'see_also' not in bug :
@@ -93,7 +92,6 @@ def optimize_bug(bug_org) :
         bug['see_also']  = [x, addAlso]
     else :
       bug['see_also'].append(addAlso)
-    del bug['bug_id']
     return bug
 
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to