summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Hörberg <haho0032@hashog.umdc.umu.se>2013-05-07 11:24:52 +0200
committerHans Hörberg <haho0032@hashog.umdc.umu.se>2013-05-07 11:24:52 +0200
commit4f07b7acf24b4e1b332a912a313f95b7e999fe7c (patch)
tree7a24db2fd621bd66d9f62e26cbde6c5b8d505a08
parent3db4d1a4249f8767ff48f1ba5d24c34366077d78 (diff)
downloadpysaml2-4f07b7acf24b4e1b332a912a313f95b7e999fe7c.tar.gz
Metadata neede to make the filter work
-rw-r--r--.gitignore14
-rw-r--r--src/saml2/assertion.py1
2 files changed, 14 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 583eb213..02d5cce4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -69,3 +69,17 @@ example/sp2/sp.xml
example/sp2/sp_conf.py
example/sp2/who.ini
+
+example/idp2/idp.xml
+
+example/idp2/idp_conf_test.py
+
+example/idp2/metadata.xml
+
+example/idp2/modules/login.mako.py
+
+example/idp2/modules/root.mako.py
+
+example/idp3/idp_conf_test.py
+
+update
diff --git a/src/saml2/assertion.py b/src/saml2/assertion.py
index 4cd85c97..9732f99f 100644
--- a/src/saml2/assertion.py
+++ b/src/saml2/assertion.py
@@ -489,7 +489,6 @@ class Policy(object):
ava = self.filter(ava, sp_entity_id, metadata,
spec["required"], spec["optional"])
- return self.filter(ava, sp_entity_id, [], [])
def conditions(self, sp_entity_id):
""" Return a saml.Condition instance