Si tout est vrifi on informe et continue.

darcs-hash:20051031005658-41617-432f212b9fb4be579a10f107d3629cfc3922e89f.gz
This commit is contained in:
pauget 2005-10-31 01:56:58 +01:00
parent bbecc2a76a
commit dbb4090ee9

View file

@ -860,6 +860,12 @@ def set_admin(proprio) :
carte_ok = 'off' carte_ok = 'off'
if iscontroleur: txt = [] if iscontroleur: txt = []
if len(txt) == 2 :
# Il n'y a rien -Aà demander-b
dialog('--title "Champs non modifiables" --msgbox "%s\n" 0 0 ' % '\n'.join(txt))
return
arg = u'--title "Etat administratif de %s" ' % proprio.Nom() arg = u'--title "Etat administratif de %s" ' % proprio.Nom()
arg+= u'--separate-output ' arg+= u'--separate-output '
arg+= u'--checklist "%s" 0 0 0 ' % '\n'.join(txt) arg+= u'--checklist "%s" 0 0 0 ' % '\n'.join(txt)