Fautes d'orthographe
darcs-hash:20080520184105-69ccb-70f7c73a56a93d439414c118dbce4b0d6e9a1efa.gz
This commit is contained in:
parent
8d5927efda
commit
cc0de6a5aa
1 changed files with 5 additions and 5 deletions
|
@ -104,28 +104,28 @@ class main(ModuleBase):
|
||||||
if machine.portTCPin() != []:
|
if machine.portTCPin() != []:
|
||||||
machineInfos['ports'].append(
|
machineInfos['ports'].append(
|
||||||
{
|
{
|
||||||
'titre':'Ports TCP ouvert ext->machine',
|
'titre':'Ports TCP ouverts ext->machine',
|
||||||
'ports':machine.portTCPin()
|
'ports':machine.portTCPin()
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
if machine.portTCPout() != []:
|
if machine.portTCPout() != []:
|
||||||
machineInfos['ports'].append(
|
machineInfos['ports'].append(
|
||||||
{
|
{
|
||||||
'titre':'Ports TCP ouvert machine->ext',
|
'titre':'Ports TCP ouverts machine->ext',
|
||||||
'ports':machine.portTCPout()
|
'ports':machine.portTCPout()
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
if machine.portUDPin() != []:
|
if machine.portUDPin() != []:
|
||||||
machineInfos['ports'].append(
|
machineInfos['ports'].append(
|
||||||
{
|
{
|
||||||
'titre':'Ports UDP ouvert ext->machine',
|
'titre':'Ports UDP ouverts ext->machine',
|
||||||
'ports':machine.portUDPin()
|
'ports':machine.portUDPin()
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
if machine.portUDPout() != []:
|
if machine.portUDPout() != []:
|
||||||
machineInfos['ports'].append(
|
machineInfos['ports'].append(
|
||||||
{
|
{
|
||||||
'titre':'Ports TCP ouvert machine->ext',
|
'titre':'Ports TCP ouverts machine->ext',
|
||||||
'ports':machine.portUDPout()
|
'ports':machine.portUDPout()
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
@ -167,7 +167,7 @@ class main(ModuleBase):
|
||||||
# tester si c'est bien la machine de l'adherent
|
# tester si c'est bien la machine de l'adherent
|
||||||
if mach.proprietaire().compte() != cherrypy.session['uid']:
|
if mach.proprietaire().compte() != cherrypy.session['uid']:
|
||||||
del adh, mach
|
del adh, mach
|
||||||
raise Exception(u"L'uid de l'adherent ne correspond mas au proprietaire de la machine.")
|
raise Exception(u"L'uid de l'adherent ne correspond pas au proprietaire de la machine.")
|
||||||
anciennom = mach.nom()
|
anciennom = mach.nom()
|
||||||
nouveauNom = mach.nom(nouveauNom)
|
nouveauNom = mach.nom(nouveauNom)
|
||||||
mach.save()
|
mach.save()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue