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

Unified Diff: sitescripts/utils.py

Issue 29670611: Issue 5844 - Remove redundant parentheses in sitescripts and abpsembly (Closed) Base URL: https://hg.adblockplus.org/sitescripts/
Patch Set: Created Jan. 16, 2018, 5:28 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
« sitescripts/templateFilters.py ('K') | « sitescripts/urlfixer/web/submitData.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/utils.py
===================================================================
--- a/sitescripts/utils.py
+++ b/sitescripts/utils.py
@@ -114,7 +114,7 @@
mail = template.render(data)
config = get_config()
if config.has_option('DEFAULT', 'mailerDebug') and config.get('DEFAULT', 'mailerDebug') == 'yes':
- (handle, path) = mkstemp(prefix='mail_', suffix='.eml', dir='.')
+ handle, path = mkstemp(prefix='mail_', suffix='.eml', dir='.')
os.close(handle)
f = codecs.open(path, 'wb', encoding='utf-8')
print >>f, mail
« sitescripts/templateFilters.py ('K') | « sitescripts/urlfixer/web/submitData.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld