[supervision.py] sre est deprecated (2)
Ignore-this: 857a30f380db2c11110498f1a42573ea darcs-hash:20090425002731-ffbb2-464c8914fba8eff3065e7d82cfee87f95daa318b.gz
This commit is contained in:
parent
03a5000843
commit
be9e7a9ab5
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,8 @@ Subject: %(Subject)s
|
|||
|
||||
anim('\tEnvoi mail')
|
||||
if not self.couleur :
|
||||
import sre
|
||||
texte = sre.sub('\x1b\[1;([0-9]|[0-9][0-9])m','',texte)
|
||||
import re
|
||||
texte = re.sub('\x1b\[1;([0-9]|[0-9][0-9])m','',texte)
|
||||
|
||||
conn=smtplib.SMTP(smtpserv)
|
||||
conn.sendmail(self.From, self.To , \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue