From 12214b8cb53f425e6b20fe42b311a687a8d77ebc Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 18 May 2015 14:44:59 +0200 Subject: [PATCH] utils: add a default return value to utils.get_idp() refs #7271 --- mellon/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mellon/utils.py b/mellon/utils.py index 58ef6e2..231f4d1 100644 --- a/mellon/utils.py +++ b/mellon/utils.py @@ -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():