From 8e1332f24faabd681ea6bc3615090c273dab305a Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Tue, 6 Nov 2018 12:11:45 +0100 Subject: [PATCH] Remove debug prints --- comments/forms.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/comments/forms.py b/comments/forms.py index b693b4a08..e9ec07e3e 100644 --- a/comments/forms.py +++ b/comments/forms.py @@ -42,10 +42,7 @@ class VetCommentForm(forms.Form): If the comment is refused, make sure a valid refusal reason is given. """ data = super().clean() - print('Cleaning, action_option = %s' % data['action_option']) if data['action_option'] == str(COMMENT_ACTION_REFUSE): - print('Refusing') if data['refusal_reason'] == str(COMMENT_REFUSAL_EMPTY): - print('Flagging invalid reason') self.add_error(None, 'Please choose a valid refusal reason') return data -- GitLab