From 815f4d0a81783be9244771e8be6babd7f46df5fb Mon Sep 17 00:00:00 2001 From: Ken Tsang Date: Mon, 26 Jun 2017 14:26:46 +0100 Subject: [PATCH] Removed prints --- app/delivery/send_to_providers.py | 1 - app/notifications/rest.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/app/delivery/send_to_providers.py b/app/delivery/send_to_providers.py index 371804204..1df5ddfaa 100644 --- a/app/delivery/send_to_providers.py +++ b/app/delivery/send_to_providers.py @@ -23,7 +23,6 @@ from app.celery.statistics_tasks import record_initial_job_statistics, create_in def send_sms_to_provider(notification): service = notification.service - print('send') if not service.active: technical_failure(notification=notification) return diff --git a/app/notifications/rest.py b/app/notifications/rest.py index b4984bc2c..a885fe2e3 100644 --- a/app/notifications/rest.py +++ b/app/notifications/rest.py @@ -122,7 +122,6 @@ def send_notification(notification_type): _service_has_permission(authenticated_service, SMS_TYPE) _service_can_send_internationally(authenticated_service, notification_form['to']) elif notification_type == EMAIL_TYPE: - print('email') _service_has_permission(authenticated_service, EMAIL_TYPE) # Do not persist or send notification to the queue if it is a simulated recipient @@ -167,7 +166,6 @@ def get_notification_return_data(notification_id, notification, template): def _service_has_permission(service, notify_type): - print(service.permissions) if notify_type not in [p.permission for p in service.permissions]: notify_type_text = notify_type + 's' action = 'send'