Skip to content

Commit 05ea6fa

Browse files
committed
update MetadataStore._providers() to use parameter instead of hardcoded string
1 parent 7af649e commit 05ea6fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/mdstore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ def _providers(self, descriptor):
808808
res = []
809809
for md in self.metadata.values():
810810
for ent_id, ent_desc in md.items():
811-
if "spsso_descriptor" in ent_desc:
811+
if descriptor in ent_desc:
812812
res.append(ent_id)
813813
return res
814814

0 commit comments

Comments
 (0)