summaryrefslogtreecommitdiff
path: root/src/saml2/attribute_converter.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/saml2/attribute_converter.py')
-rw-r--r--src/saml2/attribute_converter.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/saml2/attribute_converter.py b/src/saml2/attribute_converter.py
index 000e5970..e1289e50 100644
--- a/src/saml2/attribute_converter.py
+++ b/src/saml2/attribute_converter.py
@@ -88,25 +88,6 @@ def ac_factory(path=""):
def ac_factory_II(path):
return ac_factory(path)
-#def ac_factory_old(path):
-# acs = []
-#
-# for dir_name, directories, files in os.walk(path):
-# for d in list(directories):
-# if d.startswith('.'):
-# directories.remove(d)
-#
-# if files:
-# atco = AttributeConverter(os.path.basename(dir_name))
-# for name in files:
-# fname = os.path.join(dir_name, name)
-# if name.endswith(".py"):
-# name = name[:-3]
-# atco.set(name, fname)
-# atco.adjust()
-# acs.append(atco)
-# return acs
-
def ava_fro(acs, statement):
""" Translates attributes according to their name_formats into the local
names.