You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/09/07 02:55:47 UTC

[incubator-ponymail-foal] 01/01: listnames should have <> when AAA checks are run

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch humbedooh/47-private-years
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 6bcfde1a0b50ebc0b46ac200946291b7c36d8721
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Mon Sep 6 21:55:41 2021 -0500

    listnames should have <> when AAA checks are run
---
 server/plugins/messages.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/plugins/messages.py b/server/plugins/messages.py
index 09b3911..7a7dd62 100644
--- a/server/plugins/messages.py
+++ b/server/plugins/messages.py
@@ -308,7 +308,7 @@ async def query(
     hide_deleted=True,
 ):
     """
-    Advanced query and grab for stats.py
+    Advanced query and grab for stats.pyhttps://node1.db1.dinosource.co:8443/
     """
     docs = []
     hits = 0
@@ -416,7 +416,7 @@ async def get_years(session, query_defuzzed):
     )
     private_lists_found = []
     for entry in res["aggregations"]["listnames"]["buckets"]:
-        listname = entry["key"].lower().strip("<>")
+        listname = entry["key"].lower()
         private_lists_found.append(listname)
 
     # If we can access all private lists found, or if no private lists, we can do a complete search.