unicode
darcs-hash:20051101173117-41617-6fdb4ea32b9905beab20aedf63b495b28065b0a8.gz
This commit is contained in:
parent
97f5afab47
commit
8002a00f48
2 changed files with 3 additions and 3 deletions
|
@ -721,7 +721,7 @@ def confirm(clas) :
|
|||
os.system('clear')
|
||||
aff(clas)
|
||||
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' :
|
||||
break
|
||||
elif r=='N' or r=='n' :
|
||||
|
@ -1574,7 +1574,7 @@ def select(clas,quoi,mde='') :
|
|||
aff(choix)
|
||||
|
||||
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' :
|
||||
break
|
||||
elif r=='N' or r=='n' :
|
||||
|
|
|
@ -1327,7 +1327,7 @@ class base_proprietaire(base_classes_crans):
|
|||
args+= self._data['uidNumber'][0] + ','
|
||||
args+= self._data['uid'][0]
|
||||
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':
|
||||
chgpass(self.dn)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue