We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff57d51 commit dde54a0Copy full SHA for dde54a0
src/saml2/mdstore.py
@@ -1445,7 +1445,7 @@ def registration_info(self, entity_id):
1445
if elem["__class__"] == classnames["mdrpi_registration_info"]:
1446
res["registration_authority"] = elem["registration_authority"]
1447
res["registration_instant"] = elem.get("registration_instant")
1448
- for policy in elem.get('registration_policy', list()):
+ for policy in elem.get('registration_policy', []):
1449
if policy["__class__"] == classnames["mdrpi_registration_policy"]:
1450
res['registration_policy'][policy["lang"]] = policy["text"]
1451
return res
0 commit comments