[./gestion/ldap_crans.py] Possibilité d'annuler la redirection mail
Ignore-this: dc2eea92cfcbb33af4fb887ccbe2f888 darcs-hash:20100902074904-108b1-8df599a907093158450f0bdd6f43730ec4edd8d1.gz
This commit is contained in:
parent
16b4e7a8bf
commit
569c166cfc
1 changed files with 4 additions and 1 deletions
|
@ -1857,7 +1857,10 @@ class BaseProprietaire(BaseClasseCrans):
|
||||||
mail1 = mail2 = None
|
mail1 = mail2 = None
|
||||||
if r.lower().startswith('o'):
|
if r.lower().startswith('o'):
|
||||||
while True:
|
while True:
|
||||||
mail1 = prompt(u"Adresse mail ?")
|
mail1 = prompt(u"Adresse mail ? (ANNUL pour annuler la redirection)")
|
||||||
|
if mail1 == "ANNUL":
|
||||||
|
mail1 = None
|
||||||
|
break
|
||||||
try:
|
try:
|
||||||
validate_mail(mail1)
|
validate_mail(mail1)
|
||||||
except ValueError, e:
|
except ValueError, e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue