[debian/*.py] remove trailing whitespaces
Ignore-this: f62e84c258c847013d307d12acdf489e darcs-hash:20090309212356-0445d-d8338d06f968f316fcd085446023123be87040f7.gz
This commit is contained in:
parent
cc31727b60
commit
eae0d21f83
18 changed files with 352 additions and 352 deletions
|
@ -44,14 +44,14 @@ def reconf_postfix():
|
|||
|
||||
if limit == "yes":
|
||||
# Si oui, on demande à l'utilisateur si on y touche
|
||||
|
||||
|
||||
negatif = ["N", "n", ""]
|
||||
positif = ["O", "o", "Y", "y"]
|
||||
|
||||
|
||||
poursuivre = "x"
|
||||
while not (poursuivre in negatif + positif):
|
||||
poursuivre = raw_input("Il y a trop de destinataires, il faut réécrire la conf de postfix [o/N] ")
|
||||
|
||||
|
||||
if poursuivre in negatif:
|
||||
print "Ok, on ne touche pas au fichier..."
|
||||
sys.exit(0)
|
||||
|
@ -69,7 +69,7 @@ def reconf_postfix():
|
|||
sys.exit(1)
|
||||
|
||||
reload_postfix()
|
||||
|
||||
|
||||
return(limit,lines)
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
@ -121,7 +121,7 @@ par le script.
|
|||
except IOError:
|
||||
print "Impossible d'ouvrir le fichier à envoyer, merci, au revoir."
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
echecs = []
|
||||
s = smtplib.SMTP()
|
||||
s.connect('smtp.crans.org')
|
||||
|
@ -141,14 +141,14 @@ par le script.
|
|||
else:
|
||||
# Tout va bien
|
||||
pass
|
||||
|
||||
|
||||
if echecs:
|
||||
print "\nIl y a eu des erreurs :"
|
||||
print echecs
|
||||
|
||||
|
||||
s.close()
|
||||
|
||||
# On rétablit la conf de postfix
|
||||
# On rétablit la conf de postfix
|
||||
finally:
|
||||
if limit == "yes":
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue