diff options
author | Roland Hedberg <roland.hedberg@adm.umu.se> | 2015-11-13 15:55:45 +0100 |
---|---|---|
committer | Roland Hedberg <roland.hedberg@adm.umu.se> | 2015-11-13 15:55:45 +0100 |
commit | 64fb2044d9dd846ee64f7c6f8539e803ee5c7c62 (patch) | |
tree | 3af5c1c982466f654bdf9b6e21a67508407dda88 /src/saml2/mdstore.py | |
parent | 17c748f516d6abe5f9f39e3c69e523b8f8177195 (diff) | |
parent | 31f8ce0e14894252dc9c5b538e1b208ed97233b5 (diff) | |
download | pysaml2-64fb2044d9dd846ee64f7c6f8539e803ee5c7c62.tar.gz |
Merge branch 'master' of github.com:rohe/pysaml2
Diffstat (limited to 'src/saml2/mdstore.py')
-rw-r--r-- | src/saml2/mdstore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/mdstore.py b/src/saml2/mdstore.py index b19d3dd1..687b1288 100644 --- a/src/saml2/mdstore.py +++ b/src/saml2/mdstore.py @@ -593,7 +593,7 @@ class MetaDataFile(InMemoryMetaData): self.cert = cert def get_metadata_content(self): - return open(self.filename).read() + return open(self.filename, 'rb').read() def load(self): _txt = self.get_metadata_content() |