Skip to content

Commit e95f6a9

Browse files
author
Roland Hedberg
committed
No index must be signaled using None.
1 parent b105b1f commit e95f6a9

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
@@ -717,7 +717,7 @@ def discovery_response(self, entity_id, binding=None, _="spsso"):
717717
DiscoveryResponse.c_tag),
718718
binding)
719719

720-
def attribute_requirement(self, entity_id, index=0):
720+
def attribute_requirement(self, entity_id, index=None):
721721
for _md in self.metadata.values():
722722
if entity_id in _md:
723723
return _md.attribute_requirement(entity_id, index)

0 commit comments

Comments
 (0)