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

New commits:
commit 4c50fe5ca3afdf9c09aa4787d348691cf60d113e
Author:     Guilhem Moulin <guil...@libreoffice.org>
AuthorDate: Thu Jul 23 19:14:54 2020 +0200
Commit:     Guilhem Moulin <guil...@libreoffice.org>
CommitDate: Thu Jul 23 19:14:54 2020 +0200

    esc-automate: minor optimization.

diff --git a/esc-reporting/esc-automate.py b/esc-reporting/esc-automate.py
index 28c7c7a..74a4ac4 100755
--- a/esc-reporting/esc-automate.py
+++ b/esc-reporting/esc-automate.py
@@ -154,8 +154,8 @@ def executeLoop(func, xType, xName):
     global autoList
 
     try:
-      for id in autoList[xType][xName]:
-        func(id, autoList[xType][xName][id])
+      for id, val in autoList[xType][xName].items():
+        func(id, val)
     except Exception as e:
       common.util_errorMail(cfg, 'esc-automate', 'ERROR: ' + str(func) + ' 
failed with ' + str(e))
       return
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to