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

Unified Diff: sitescripts/reports/bin/parseNewReports.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/mailDigests.py ('k') | sitescripts/subscriptions/bin/generateReport.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/reports/bin/parseNewReports.py
===================================================================
--- a/sitescripts/reports/bin/parseNewReports.py
+++ b/sitescripts/reports/bin/parseNewReports.py
@@ -146,7 +146,7 @@
'location': attributes.get('location', ''),
'type': attributes.get('type', 'unknown'),
'docDomain': attributes.get('docDomain', 'unknown'),
- 'thirdParty': (attributes.get('thirdParty', 'false') == 'true'),
+ 'thirdParty': attributes.get('thirdParty', 'false') == 'true',
'size': attributes.get('size', ''),
'filter': attributes.get('filter', ''),
'count': requestCount,
« no previous file with comments | « sitescripts/reports/bin/mailDigests.py ('k') | sitescripts/subscriptions/bin/generateReport.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld