Removed prints

This commit is contained in:
Ken Tsang
2017-06-26 14:26:46 +01:00
committed by venusbb
parent c1caa4a5da
commit 815f4d0a81
2 changed files with 0 additions and 3 deletions

View File

@@ -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

View File

@@ -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'