[attributs, lc_ldap] unicode(x) -> x.__unicode__()
This commit is contained in:
parent
f461764825
commit
ba260bcb50
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue