utils: add a default return value to utils.get_idp()

refs #7271
This commit is contained in:
Benjamin Dauvergne 2015-05-18 14:44:59 +02:00
parent 5e297925c6
commit 12214b8cb5
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ def get_idp(entity_id):
idp = adapter.get_idp(entity_id)
if idp:
return idp
return {}
def get_idps():
for adapter in get_adapters():