# Path: ldapcherry/pyyamlwrapper.py
# def loadNoDump(stream):
#     loader = MyLoader(stream)
#     try:
#         return loader.get_single_data()
#     finally:
#         loader.dispose()
# 
# Path: ldapcherry/pyyamlwrapper.py
# class DumplicatedKey(Exception):
#     def __init__(self, host, key):
#         self.host = host
#         self.key = key


import os
import sys
import re
import yaml
from ldapcherry.pyyamlwrapper import loadNoDump
from ldapcherry.pyyamlwrapper import DumplicatedKey
from ldapcherry.exceptions import *
    from sets import Set as set
# -*- coding: utf-8 -*-
# vim:set expandtab tabstop=4 shiftwidth=4:
#
# The MIT License (MIT)
# LdapCherry
# Copyright (c) 2014 Carpentier Pierre-Francois



if sys.version < '3':

# List of available types for form
types = ['string', 'textfield', 'email', 'int', 'stringlist',
         'fix', 'password']


class Attributes:

    def __init__(self, attributes_file):
        self.attributes_file = attributes_file
        self.backends = set([])
        self.self_attributes = {}

# Path: ldapcherry/pyyamlwrapper.py
# def loadNoDump(stream):
#     loader = MyLoader(stream)
#     try:
#         return loader.get_single_data()
#     finally:
#         loader.dispose()
# 
# Path: ldapcherry/pyyamlwrapper.py
# class DumplicatedKey(Exception):
#     def __init__(self, host, key):
#         self.host = host
#         self.key = key


# Path: ldapcherry/attributes.py
import os
import sys
import re
import yaml
from ldapcherry.pyyamlwrapper import loadNoDump
from ldapcherry.pyyamlwrapper import DumplicatedKey
from ldapcherry.exceptions import *
    from sets import Set as set

# -*- coding: utf-8 -*-
# vim:set expandtab tabstop=4 shiftwidth=4:
#
# The MIT License (MIT)
# LdapCherry
# Copyright (c) 2014 Carpentier Pierre-Francois



if sys.version < '3':

# List of available types for form
types = ['string', 'textfield', 'email', 'int', 'stringlist',
         'fix', 'password']


class Attributes:

    def __init__(self, attributes_file):
        self.attributes_file = attributes_file
        self.backends = set([])
        self.self_attributes = {}

        self.backend_attributes = {}