mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-10-29 05:35:44 +00:00
Code formatting improvements
This commit is contained in:
1 parent
8548a3749e
commit
b196b5fca0
1 file changed
+3
-2
@@ -287,8 +287,9 @@ def save_aggregate_report_to_elasticsearch(aggregate_report,
|
||||
end_date_query = Q(dict(match=dict(date_range=end_date)))
|
||||
|
||||
search = Search(index="dmarc_aggregate*")
|
||||
search.query = org_name_query & report_id_query & domain_query & \
|
||||
begin_date_query & end_date_query
|
||||
query = org_name_query & report_id_query & domain_query
|
||||
query = query & begin_date_query & end_date_query
|
||||
search.query = query
|
||||
|
||||
existing = search.execute()
|
||||
if len(existing) > 0:
|
||||
|
||||
Reference in new issue
Block a user