[Libreoffice-commits] dev-tools.git: esc-reporting/esc-automate.py
Guilhem Moulin (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 23 17:15:10 UTC 2020
esc-reporting/esc-automate.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4c50fe5ca3afdf9c09aa4787d348691cf60d113e
Author: Guilhem Moulin <guilhem at libreoffice.org>
AuthorDate: Thu Jul 23 19:14:54 2020 +0200
Commit: Guilhem Moulin <guilhem at 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
More information about the Libreoffice-commits
mailing list