summaryrefslogtreecommitdiff
path: root/src/saml2
diff options
context:
space:
mode:
authorRoland Hedberg <roland.hedberg@adm.umu.se>2009-11-03 20:19:15 +0100
committerRoland Hedberg <roland.hedberg@adm.umu.se>2009-11-03 20:19:15 +0100
commit251bf6b206c3674ffe8661f2afda54dbfa92458e (patch)
tree843a321cdd1ac7616dcbf6967a834d27fac8e32f /src/saml2
parent34dd7b21a19b98b887ef888fe710f616effb61e2 (diff)
downloadpysaml2-251bf6b206c3674ffe8661f2afda54dbfa92458e.tar.gz
make it work
Diffstat (limited to 'src/saml2')
-rw-r--r--src/saml2/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saml2/client.py b/src/saml2/client.py
index 68e71b43..cf8d7c36 100644
--- a/src/saml2/client.py
+++ b/src/saml2/client.py
@@ -42,7 +42,7 @@ FORM_SPEC = """<form method="post" action="%s">
LAX = True
def verify_idp_conf(config_file):
- config = eval(open(conf_file).read())
+ config = eval(open(config_file).read())
# check for those that have to be there
assert "xmlsec_binary" in config
@@ -56,7 +56,7 @@ def verify_idp_conf(config_file):
config["key_file"] = None
if "metadata" in config:
- md = MetaData()
+ md = metadata.MetaData()
for mdfile in config["metadata"]:
md.import_metadata(open(mdfile).read())
config["metadata"] = md