darcs-hash:20051101173117-41617-6fdb4ea32b9905beab20aedf63b495b28065b0a8.gz
This commit is contained in:
pauget 2005-11-01 18:31:17 +01:00
parent 97f5afab47
commit 8002a00f48
2 changed files with 3 additions and 3 deletions

View file

@ -721,7 +721,7 @@ def confirm(clas) :
os.system('clear') os.system('clear')
aff(clas) aff(clas)
while 1 : while 1 :
r = affich_tools.prompt("Valider et enregister ? [O/N]") r = affich_tools.prompt(u"Valider et enregister ? [O/N]")
if r=='O' or r=='o' : if r=='O' or r=='o' :
break break
elif r=='N' or r=='n' : elif r=='N' or r=='n' :
@ -1574,7 +1574,7 @@ def select(clas,quoi,mde='') :
aff(choix) aff(choix)
while 1 : while 1 :
r = affich_tools.prompt('Confirmer sélection ? [O/N]' ) r = affich_tools.prompt(u'Confirmer sélection ? [O/N]' )
if r=='O' or r=='o' : if r=='O' or r=='o' :
break break
elif r=='N' or r=='n' : elif r=='N' or r=='n' :

View file

@ -1327,7 +1327,7 @@ class base_proprietaire(base_classes_crans):
args+= self._data['uidNumber'][0] + ',' args+= self._data['uidNumber'][0] + ','
args+= self._data['uid'][0] args+= self._data['uid'][0]
self.services_to_restart('home',[ args ]) self.services_to_restart('home',[ args ])
r = prompt("Attribuer tout de suite un mot de passe ? [O/N]","O") r = prompt(u"Attribuer tout de suite un mot de passe ? [O/N]","O")
if r=='O' or r=='o': if r=='O' or r=='o':
chgpass(self.dn) chgpass(self.dn)
else: else: