Removed some old debug print statements.
- Legacy-Id: 14823
This commit is contained in:
parent
1fd4a4d1a7
commit
a04e187f0f
|
@ -273,8 +273,6 @@ def api_set_position(request):
|
|||
if form.is_valid():
|
||||
save_position(form, doc, ballot, ad)
|
||||
else:
|
||||
debug.type('form.errors')
|
||||
debug.show('form.errors')
|
||||
errors = form.errors
|
||||
summary = ','.join([ "%s: %s" % (f, striptags(errors[f])) for f in errors ])
|
||||
return err(400, "Form not valid: %s" % summary)
|
||||
|
|
Loading…
Reference in a new issue