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

Unified Diff: sitescripts/subscriptions/bin/generateReport.py

Issue 29670611: Issue 5844 - Remove redundant parentheses in sitescripts and abpsembly (Closed) Base URL: https://hg.adblockplus.org/sitescripts/
Patch Set: Fixed one more case of redundant parentheses Created Jan. 25, 2018, 7:03 p.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 | « sitescripts/reports/bin/parseNewReports.py ('k') | sitescripts/subscriptions/bin/updateStatusPage.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/subscriptions/bin/generateReport.py
===================================================================
--- a/sitescripts/subscriptions/bin/generateReport.py
+++ b/sitescripts/subscriptions/bin/generateReport.py
@@ -73,7 +73,7 @@
for title, url, complete in subscription.variants:
knownURLs[url] = True
- (redirectData, goneData) = subscriptionParser.getFallbackData()
+ redirectData, goneData = subscriptionParser.getFallbackData()
redirects = processFile(redirectData, counts)
gone = processFile(goneData, counts)
@@ -97,7 +97,7 @@
logPath = os.path.join(get_config().get('logs', 'dataPath'), get_config().get('logs', 'fileName') % i)
countSubscriptionRequests(logPath, counts)
- (redirects, gone, unaccounted) = loadSubscriptions(counts)
+ redirects, gone, unaccounted = loadSubscriptions(counts)
sendMail(get_config().get('subscriptions', 'reportTemplate'), {
'redirects': redirects,
« no previous file with comments | « sitescripts/reports/bin/parseNewReports.py ('k') | sitescripts/subscriptions/bin/updateStatusPage.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld