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

Unified Diff: sitescripts/subscriptions/bin/updateStatusPage.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/subscriptions/bin/generateReport.py ('k') | sitescripts/subscriptions/knownIssuesParser.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/subscriptions/bin/updateStatusPage.py
===================================================================
--- a/sitescripts/subscriptions/bin/updateStatusPage.py
+++ b/sitescripts/subscriptions/bin/updateStatusPage.py
@@ -55,15 +55,15 @@
url = getattr(subscription, key)
if url != None:
urls[url] = True
- for (title, url, complete) in subscription.variants:
+ for title, url, complete in subscription.variants:
urls[url] = True
pool = eventlet.GreenPool()
- for (url, result) in pool.imap(checkURL, urls.iterkeys()):
+ for url, result in pool.imap(checkURL, urls.iterkeys()):
urls[url] = result
if result is False:
sites[urlparse(url).netloc] = True
- for (site, result) in pool.imap(checkSite, sites.iterkeys()):
+ for site, result in pool.imap(checkSite, sites.iterkeys()):
sites[site] = result
result = []
@@ -80,7 +80,7 @@
'result': urls[url],
'siteResult': site in sites and sites[site],
})
- for (title, url, complete) in subscription.variants:
+ for title, url, complete in subscription.variants:
site = urlparse(url).netloc
s['links'].append({
'url': url,
« no previous file with comments | « sitescripts/subscriptions/bin/generateReport.py ('k') | sitescripts/subscriptions/knownIssuesParser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld