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

Unified Diff: sitescripts/formmail/web/formmail2.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
Index: sitescripts/formmail/web/formmail2.py
===================================================================
--- a/sitescripts/formmail/web/formmail2.py
+++ b/sitescripts/formmail/web/formmail2.py
@@ -124,7 +124,7 @@
get_template(template, autoescape=False)
except (KeyError, AttributeError):
raise Exception('No template configured for form handler: ' + name)
- except (jinja2.TemplateNotFound):
+ except jinja2.TemplateNotFound:
raise Exception('Template not found at: ' + template)
try:
fields = config['fields']

Powered by Google App Engine
This is Rietveld