From c489c32f24c17e4de8e20bf1f44f8d1de78ac6de Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Sun, 17 Oct 2010 14:44:58 +0200 Subject: [PATCH] [attributs] midtools.Mid() attend un argument int --- attributs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attributs.py b/attributs.py index 17c646c..3d2fc3f 100644 --- a/attributs.py +++ b/attributs.py @@ -297,7 +297,7 @@ class mid(Attr): legend = "Identifiant de machine" def parse_value(self, mid, ldif): - self.value = Mid(mid = mid) + self.value = Mid(mid = int(mid)) def __unicode__(self): return unicode(int(self.value))