/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/smtp_connection.py

  • Committer: Jelmer Vernooij
  • Date: 2020-04-05 19:11:34 UTC
  • mto: (7490.7.16 work)
  • mto: This revision was merged to the branch mainline in revision 7501.
  • Revision ID: jelmer@jelmer.uk-20200405191134-0aebh8ikiwygxma5
Populate the .gitignore file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""A convenience class around smtplib."""
18
18
 
19
 
from email.utils import getaddresses, parseaddr
 
19
from __future__ import absolute_import
 
20
 
 
21
try:
 
22
    from email.utils import getaddresses, parseaddr
 
23
except ImportError:  # python < 3
 
24
    from email.Utils import getaddresses, parseaddr
20
25
 
21
26
import errno
22
27
import smtplib