Fixup verbose names

This commit is contained in:
Jens Langhammer
2018-11-26 17:17:32 +01:00
parent ca80ebc0cc
commit 15ed14046e
9 changed files with 86 additions and 8 deletions

View File

@ -3,7 +3,7 @@ from logging import getLogger
from passbook.lib.utils.reflection import path_to_class
from passbook.saml_idp.exceptions import CannotHandleAssertion
from passbook.saml_idp.models import SAMLApplication
from passbook.saml_idp.models import SAMLProvider
LOGGER = getLogger(__name__)
@ -16,7 +16,7 @@ def get_processor(remote):
def find_processor(request):
"""Returns the Processor instance that is willing to handle this request."""
for remote in SAMLApplication.objects.all():
for remote in SAMLProvider.objects.all():
proc = get_processor(remote)
try:
if proc.can_handle(request):