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

Unified Diff: sitescripts/stats/bin/logprocessor.py

Issue 5438786527821824: Issue 527 - Only process notification requests sent by our own extensions (Closed)
Patch Set: Created May 22, 2014, 7:20 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/stats/bin/logprocessor.py
===================================================================
--- a/sitescripts/stats/bin/logprocessor.py
+++ b/sitescripts/stats/bin/logprocessor.py
@@ -397,6 +397,9 @@
# Subscription downloads, libadblockplus update checks and notification
# checks are performed by the downloader
parse_downloader_query(info)
+
+ if filename == "notification.json" and info["addonName"] not in ("adblockplus", "adblockpluschrome", "adblockplusopera", "adblockplussafari"):
Felix Dahlke 2014/05/22 07:35:21 I think we should filter this for all downloads re
Wladimir Palant 2014/05/22 07:44:05 a) We really need to do this for all downloads, ot
Sebastian Noack 2014/05/22 08:40:39 Done.
+ return None
elif ext == ".tpl":
# MSIE TPL download, no additional data here
pass
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld