diff --git a/attributs.py b/attributs.py index 21d9447..1c33333 100644 --- a/attributs.py +++ b/attributs.py @@ -763,8 +763,8 @@ class controle(Attr): def parse_value(self, ctrl, ldif): if ctrl not in [u"", u"c", u"p", u"cp", u"pc"]: raise ValueError("control peut prendre les valeurs [c][p]") - if ctrl == u'pc': - self.value = u'cp' + if ctrl == u'cp': + self.value = u'pc' else: self.value = ctrl