removed debug prints and editorial change

This commit is contained in:
Roland Hedberg
2009-11-06 19:39:27 +01:00
parent 582bc41f00
commit 3ec2b533aa

View File

@@ -224,8 +224,11 @@ class MetaData(object):
except KeyError:
return []
loc = []
#print idps
for idp in idps:
#print "==",idp.keyswv()
for sso in idp.single_sign_on_service:
#print "SSO",sso
if binding == sso.binding:
loc.append(sso.location)
return loc
@@ -260,7 +263,7 @@ class MetaData(object):
except KeyError:
return []
def consumer_url(self, entity_id, binding = BINDING_HTTP_POST):
def consumer_url(self, entity_id, binding=BINDING_HTTP_POST, log=None):
try:
ssos = self.entity[entity_id]["sp_sso"]
except KeyError: