summaryrefslogtreecommitdiff
path: root/src/saml2/attribute_converter.py
diff options
context:
space:
mode:
authorLorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com>2012-06-14 07:57:17 +0200
committerLorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com>2012-06-14 07:57:17 +0200
commitd92fa8683a5ae5541df43031f61b9284715206b1 (patch)
tree4a88698ab849432a647431991aafd02dff5d4b90 /src/saml2/attribute_converter.py
parent5e6968d0f24a554d1caf62f115e051e2e8faa80a (diff)
parent90f2f673a8da76727dcad76049c1ee7a0f325d00 (diff)
downloadpysaml2-clean-client-api.tar.gz
Merge branch 'master' into clean-client-apiclean-client-api
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.