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

fixing typos in role files

This commit is contained in:
kakwa 2015-05-14 22:10:26 +02:00
parent 804e2b7202
commit d74893d104
3 changed files with 35 additions and 11 deletions

View file

@ -12,8 +12,11 @@ class MissingParameter(Exception):
self.log = "missing parameter <%(key)s> in section <%(section)s>" % { 'key' : key, 'section' : section }
class MissingKey(Exception):
def __init__(self, key):
def __init__(self, key, section, ymlfile):
self.key = key
self.section = section
self.ymlfile = ymlfile
self.log = "missing key <%(key)s> in section <%(section)s> inside file <%(ymlfile)s>" % {'key': key, 'section': section, 'ymlfile': ymlfile }
class DumplicateRoleKey(Exception):
def __init__(self, role):