Indentation pour faire plaisir a Stphane
darcs-hash:20061007005607-f6463-114512bd71800d445063fddd014dbc502c8cc58c.gz
This commit is contained in:
parent
78b289e130
commit
465a512248
1 changed files with 4 additions and 4 deletions
|
@ -24,10 +24,10 @@ def info_machine(mac):
|
|||
for m in machines:
|
||||
adh = m.proprietaire()
|
||||
r = u"""
|
||||
Recherche LDAP sur la MAC %(mac)s :
|
||||
Nom de machine : %(nomMach)s , IP : %(ip)s, Prise : %(prise)s
|
||||
Proprietaire : %(nomAdh)s, chambre %(chbre)s
|
||||
""" % { "mac":mac, "nomMach":m.nom(), "ip":m.ip(), "prise":m.prise(),"nomAdh":adh.Nom(), "chbre":adh.chbre()}
|
||||
Recherche LDAP sur la MAC %(mac)s :
|
||||
Nom de machine : %(nomMach)s , IP : %(ip)s, Prise : %(prise)s
|
||||
Proprietaire : %(nomAdh)s, chambre %(chbre)s
|
||||
""" % { "mac":mac, "nomMach":m.nom(), "ip":m.ip(), "prise":m.prise(),"nomAdh":adh.Nom(), "chbre":adh.chbre()}
|
||||
s += r
|
||||
return s
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue