Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/reports/bin/mailDigests.py

Issue 29664601: Issue 6212 - Don't create reports for type "other" (Closed) Base URL: https://hg.adblockplus.org/sitescripts/file/cd6f20a3aede
Patch Set: Created Jan. 12, 2018, 11:58 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/reports/bin/mailDigests.py
diff --git a/sitescripts/reports/bin/mailDigests.py b/sitescripts/reports/bin/mailDigests.py
index 4623fe02c1df19ca359f27256500a50e56d6d45b..01453678ad2245c3ef634f7e1d69240d99dee577 100644
--- a/sitescripts/reports/bin/mailDigests.py
+++ b/sitescripts/reports/bin/mailDigests.py
@@ -68,10 +68,6 @@ def scanReports():
# only to subscriptions with matching filters
if dbreport['type'] == 'false negative' or subscription.get('hasmatches', 0) > 0:
recipients.append(subscriptions[subscriptionID])
- elif interval != 'week':
- # Send type "other" to fake subscription - daily reports
- recipients.append(fakeSubscription)
- subscriptionID = fakeSubscription.get('url', 'unknown')
if len(recipients) == 0:
continue
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld