Mercurial > p > roundup > code
comparison roundup/mailer.py @ 4979:f1a2bd1dea77
issue2550877: Writing headers with the email module will use continuation_ws = ' ' now for python 2.5 and 2.6 when importing anypy.email_.
| author | Bernhard Reiter <bernhard@intevation.de> |
|---|---|
| date | Mon, 16 Mar 2015 16:16:02 +0100 |
| parents | 760ffc0eae5b |
| children | 092c4522b3bf |
comparison
equal
deleted
inserted
replaced
| 4978:ac1f56d77cf5 | 4979:f1a2bd1dea77 |
|---|---|
| 13 from email.message import Message | 13 from email.message import Message |
| 14 from email.header import Header | 14 from email.header import Header |
| 15 from email.mime.base import MIMEBase | 15 from email.mime.base import MIMEBase |
| 16 from email.mime.text import MIMEText | 16 from email.mime.text import MIMEText |
| 17 from email.mime.multipart import MIMEMultipart | 17 from email.mime.multipart import MIMEMultipart |
| 18 | |
| 19 from roundup.anypy import email_ | |
| 18 | 20 |
| 19 try: | 21 try: |
| 20 import pyme, pyme.core | 22 import pyme, pyme.core |
| 21 except ImportError: | 23 except ImportError: |
| 22 pyme = None | 24 pyme = None |
