1
0
Fork 0
mirror of https://github.com/kakwa/ldapcherry synced 2025-07-04 20:37:48 +02:00

adding loading of the roles yaml file

This commit is contained in:
kakwa 2015-05-12 01:24:16 +02:00
parent 6ece24bd84
commit e9ff75061d
4 changed files with 94 additions and 8 deletions

View file

@ -9,3 +9,16 @@ class MissingParameter(Exception):
def __init__(self, section, key):
self.section = section
self.key = key
class MissingKey(Exception):
def __init__(self, key):
self.key = key
class DumplicateRoleKey(Exception):
def __init__(self, role):
self.role = role
class DumplicateRoleContent(Exception):
def __init__(self, role1, role2):
self.role1 = role1
self.role2 = role2