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

Unified Diff: sitescripts/formmail/web/formmail.py

Issue 29994572: Noissue - Use flake8's built-in per-file-ignores instead of flake8-per-file-ignores (Closed) Base URL: https://hg.adblockplus.org/sitescripts/
Patch Set: Created Jan. 31, 2019, 11:31 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 | « no previous file | tox.ini » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/formmail/web/formmail.py
===================================================================
--- a/sitescripts/formmail/web/formmail.py
+++ b/sitescripts/formmail/web/formmail.py
@@ -100,8 +100,8 @@
errors = []
for field, spec in fields.items():
if 'mandatory' in spec.value and field not in params:
- errors.append(make_error(spec, 'mandatory',
- 'No {} entered'.format(field)))
+ errors.append(make_error(spec, 'mandatory',
+ 'No {} entered'.format(field)))
if 'email' in spec.value and field in params:
try:
params[field] = encode_email_address(params[field])
« no previous file with comments | « no previous file | tox.ini » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld