[attributs, lc_ldap] unicode(x) -> x.__unicode__()

This commit is contained in:
Olivier Iffrig 2011-02-27 01:07:04 +01:00
parent f461764825
commit ba260bcb50
2 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,7 @@ class Attr(object):
self.value = val
def __str__(self):
return unicode(self).encode('utf-8')
return self.__unicode__().encode('utf-8')
def __unicode__(self):
# XXX - Vérifier que cette méthode produit un objet parsable