From 19b1df4f443d96c0b82d2011ce70454f932556fe Mon Sep 17 00:00:00 2001 From: Sean Whalen Date: Sat, 24 Mar 2018 18:25:18 -0400 Subject: [PATCH] More debugging --- parsedmarc/elastic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsedmarc/elastic.py b/parsedmarc/elastic.py index 6e78d92..b895e43 100644 --- a/parsedmarc/elastic.py +++ b/parsedmarc/elastic.py @@ -201,7 +201,7 @@ def save_aggregate_report_to_elasticsearch(aggregate_report): search = aggregate_index.search() search.query = org_name_query & report_id_query & domain_query - print(search.query) + print(search.to_dict()) existing = search.execute() if len(existing) > 0: raise AlreadySaved("Aggregate report ID {0} from {1} about {2} "