fix too many values to unpack in federate.py

This commit is contained in:
Valentin Samir 2016-06-21 15:31:46 +02:00
parent a00e5d403d
commit bec51755fa

View File

@ -24,7 +24,7 @@ class CASFederateValidateUser(object):
self.provider = provider self.provider = provider
if provider in settings.CAS_FEDERATE_PROVIDERS: if provider in settings.CAS_FEDERATE_PROVIDERS:
(server_url, version) = settings.CAS_FEDERATE_PROVIDERS[provider] (server_url, version) = settings.CAS_FEDERATE_PROVIDERS[provider][:2]
self.client = CASClient( self.client = CASClient(
service_url=service_url, service_url=service_url,
version=version, version=version,