diff --git a/gestion/whos.py b/gestion/whos.py index 84c835af..4fe0796e 100755 --- a/gestion/whos.py +++ b/gestion/whos.py @@ -367,7 +367,6 @@ def list_bornes(bornes) : nok = u'\x1b[1;31md\x1b[1;0m' for b in bornes : t, bl = __bases_machines(b) - if t != 'born' : continue # Données try : @@ -387,13 +386,13 @@ def list_bornes(bornes) : else : puiss = b.puissance() - data.append([b.id(), b.nom().split('.')[0], b.ip(), b.mac(), etat, b.canal(), puiss, b.prise(), l]) + data.append([b.id(), b.rid(), b.nom().split('.')[0], b.ip(), b.mac(), etat, b.canal(), puiss, b.prise(), l]) return u"Can=canaux, P=puissance, E=état\n" + \ tableau(data, - titre = [u'mid', u'Nom', u'Adresse IP', u'Adresse MAC', u'E', u'Can', u'P', u'Pris', u'Lieu'], - largeur = [5, 13, 15, 17, 1, 5, 3, 4, '*'], - alignement = ['d', 'c', 'c', 'c', 'c', 'c', 'c', 'g', 'c']) + titre = [u'mid', u'rid', u'Nom', u'Adresse IP', u'Adresse MAC', u'E', u'Can', u'P', u'Pris', u'Lieu'], + largeur = [5, 5, 23, 15, 17, 1, 5, 3, 4, '*'], + alignement = ['d', 'd', 'c', 'c', 'c', 'c', 'c', 'c', 'g', 'c']) def adher_details(adher) : """