[attributs] u'OK' doit aussi être considéré comme un booléen correct.
This commit is contained in:
parent
174bd87524
commit
259dde8835
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ class intAttr(Attr):
|
|||
|
||||
class boolAttr(Attr):
|
||||
def parse_value(self, val, ldif):
|
||||
if val.lower() == u'true':
|
||||
if val.lower() in [u'true', u'ok']:
|
||||
self.value = True
|
||||
elif val.lower() == u'false':
|
||||
self.value = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue