pep8 fixes

no idea why the build/local pep8s weren't picking them up before.

also excluded import order pep8
This commit is contained in:
Leo Hemsted
2016-08-23 12:05:47 +01:00
parent 270451e7ba
commit 26d7675baa
10 changed files with 26 additions and 24 deletions

View File

@@ -113,7 +113,7 @@ def send_sms_to_provider(self, service_id, notification_id):
def provider_to_use(notification_type, notification_id):
active_providers_in_order = [
provider for provider in get_provider_details_by_notification_type(notification_type) if provider.active
]
]
if not active_providers_in_order:
current_app.logger.error(