list_firewall passe à lc_ldap

This commit is contained in:
Gabriel Detraz 2015-08-17 13:24:28 +02:00
parent 5f0247ffb3
commit 09a720b827
2 changed files with 20 additions and 26 deletions

View file

@ -13,7 +13,7 @@ for m in machines :
# texte pour la machine
txt = u''
txt += u'Propriétaire : %s\n' % m.proprio()
txt += u'Propriétaire : %s\n' % str(m.proprio()).decode('utf8')
txt += u'Machine : %s\n' % m['host'][0]
txt += u'destination : %s\n' % ', '.join([unicode(i) for i in m['exempt']])