You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2021/12/14 13:21:41 UTC
[incubator-ponymail-foal] 01/02: Unused
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit 81c2aaf239fc25f3f4dd43e46edea3b8c0424126
Author: Sebb <se...@apache.org>
AuthorDate: Tue Dec 14 13:21:05 2021 +0000
Unused
---
server/plugins/messages.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/plugins/messages.py b/server/plugins/messages.py
index db99c5b..b0c8d47 100644
--- a/server/plugins/messages.py
+++ b/server/plugins/messages.py
@@ -454,7 +454,7 @@ async def wordcloud(session, query_defuzzed):
for hit in res["aggregations"]["cloud"]["buckets"]:
wc[hit["key"]] = hit["doc_count"]
- except plugins.database.Timeout as e: # If we time out, just return empty WC.
+ except plugins.database.Timeout: # If we time out, just return empty WC.
pass
return wc