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

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

Issue 29344600: Noissue - Got rid of E129, E704, E712, E731 and F821 errors (Closed)
Patch Set: Created May 26, 2016, 12:49 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/stats/test/common.py ('k') | sitescripts/urlfixer/bin/topDomains.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
@@ -63,7 +63,7 @@
pool = eventlet.GreenPool()
for (url, result) in pool.imap(checkURL, urls.iterkeys()):
urls[url] = result
- if result == False:
+ if result is False:
sites[urlparse(url).netloc] = True
for (site, result) in pool.imap(checkSite, sites.iterkeys()):
sites[site] = result
« no previous file with comments | « sitescripts/stats/test/common.py ('k') | sitescripts/urlfixer/bin/topDomains.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld