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

jan Iversen jani at libreoffice.org
Mon May 15 07:45:26 UTC 2017


 esc-reporting/esc-automate.py |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 18fe241cf7fb87604e9bef02f8d27bab36cb538a
Author: jan Iversen <jani at libreoffice.org>
Date:   Mon May 15 09:45:04 2017 +0200

    esc-report: added abandon function

diff --git a/esc-reporting/esc-automate.py b/esc-reporting/esc-automate.py
index 0404ba7..0cc07b1 100755
--- a/esc-reporting/esc-automate.py
+++ b/esc-reporting/esc-automate.py
@@ -99,7 +99,7 @@ def doMail(mail, subject, content, attach=None):
 
 
 def handle_gerrit_abandon(id, text):
-    # handle_gerrit_abandon(id, cfg['automate']['gerrit']['abandon'])
+    doGerrit(id + '/abandon', cfg['automate']['gerrit']['abandon'])
     return
 
 
@@ -234,8 +234,7 @@ def runAutomate():
     pdfFieldData = "".join(map(chr, fp.read()))
     fp.close()
 
-    #JIX executeLoop(handle_gerrit_abandon, 'gerrit', 'to_abandon_abandon')
-
+    executeLoop(handle_gerrit_abandon, 'gerrit', 'to_abandon_abandon')
     executeLoop(handle_gerrit_review,  'gerrit', 'to_review')
     executeLoop(handle_gerrit_comment, 'gerrit', 'to_abandon_comment')
     executeLoop(handle_bugzilla_unassign, 'bugzilla', 'to_unassign_unassign')


More information about the Libreoffice-commits mailing list