Skip to content

Commit 4878c23

Browse files
committed
Fix missing 'file' keyword for python3
This was an oversight, and accidental that 'file' would be missed, but 'filename' was seemingly intended.
1 parent 1fde97d commit 4878c23

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
@@ -544,7 +544,7 @@ class MetaDataFile(InMemoryMetaData):
544544
"""
545545
def __init__(self, onts, attrc, filename=None, cert=None, **kwargs):
546546
super(MetaDataFile, self).__init__(onts, attrc, **kwargs)
547-
if not file:
547+
if not filename:
548548
raise SAMLError('No file specified.')
549549
self.filename = filename
550550
self.cert = cert

0 commit comments

Comments
 (0)