Changement dans le nom des fonctions.
darcs-hash:20050131162058-41617-6735e56962788e0189e69c8592a746ff4fa53212.gz
This commit is contained in:
parent
bd0aff0589
commit
04ec6829d3
1 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ import cPickle, sys
|
|||
import config
|
||||
from whos import aff
|
||||
from affich_tools import prompt
|
||||
from gest_crans import all, set_machine, set_club
|
||||
from gest_crans import modif_adher, set_machine, modif_club
|
||||
from ldap_crans import mailexist
|
||||
|
||||
def load(file) :
|
||||
|
@ -60,7 +60,7 @@ def restore_adher(adh) :
|
|||
print " il faudra recréer un compte avec un login différent"
|
||||
prompt('Appuyez sur ENTREE pour continuer')
|
||||
adh._data['mail'] = []
|
||||
all(adh)
|
||||
modif_adher(adh)
|
||||
|
||||
def restore_machine(machine) :
|
||||
try :
|
||||
|
@ -76,7 +76,7 @@ def restore_machine(machine) :
|
|||
set_machine(machine)
|
||||
|
||||
def restore_club(club) :
|
||||
set_club(club)
|
||||
modif_club(club)
|
||||
|
||||
# Restauration ?
|
||||
q = prompt('Restaurer cette entrée ? [O/N]')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue