From 74dd1b82b4204b187b13e1a52cbc1cb8a0785f4b Mon Sep 17 00:00:00 2001 From: glondu Date: Thu, 23 Feb 2006 23:02:56 +0100 Subject: [PATCH] Information plus utile pour retrouver le propritaire. darcs-hash:20060223220256-68412-2c14707982dbe57c344dd49a62e244fbd3b6068f.gz --- gestion/whos.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gestion/whos.py b/gestion/whos.py index af401e48..0b5923e4 100755 --- a/gestion/whos.py +++ b/gestion/whos.py @@ -465,7 +465,9 @@ def machine_details(machine) : except : a = machine.proprietaire() f += "%s" % a.Nom() - if a.chbre()!='CRA' : + if a.chbre() in ['EXT', '????']: + f += ' (aid = %s)' % a.id() + elif a.chbre() != 'CRA': f += " (%s)" % a.chbre() else : f += coul(u'\t\tPrise : ','gras') + machine.prise()