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:
parent
804e2b7202
commit
d74893d104
3 changed files with 35 additions and 11 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue