remove errant print statements from views
This commit is contained in:
parent
0736eb3eb5
commit
b28bfbacd5
|
@ -80,7 +80,6 @@ def view_add_record_result(request):
|
||||||
except exceptions.RecordException, err:
|
except exceptions.RecordException, err:
|
||||||
# TODO: Start using this exception.
|
# TODO: Start using this exception.
|
||||||
# What would cause this?
|
# What would cause this?
|
||||||
print "In view_add_record_result, catching RecordException: %s" % err
|
|
||||||
errors = err
|
errors = err
|
||||||
|
|
||||||
return render(request, "bcommon/response_result.htm",
|
return render(request, "bcommon/response_result.htm",
|
||||||
|
@ -163,7 +162,7 @@ def view_delete_result(request):
|
||||||
clean_form = form.cleaned_data
|
clean_form = form.cleaned_data
|
||||||
else:
|
else:
|
||||||
# TODO: Add unit test here.
|
# TODO: Add unit test here.
|
||||||
print "form not valid"
|
pass
|
||||||
|
|
||||||
delete_result = helpers.delete_record(clean_form["dns_server"],
|
delete_result = helpers.delete_record(clean_form["dns_server"],
|
||||||
clean_form["rr_list"],
|
clean_form["rr_list"],
|
||||||
|
|
Loading…
Reference in New Issue