Mercurial > public > mercurial-scm > hg-stable
diff mercurial/mail.py @ 8312:b87a50b7125c
separate import lines from mercurial and general python modules
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Tue, 28 Apr 2009 17:40:46 +0200 |
parents | 46293a0c7e9f |
children | 3e544c074459 |
line wrap: on
line diff
--- a/mercurial/mail.py Thu May 07 15:08:25 2009 +0300 +++ b/mercurial/mail.py Tue Apr 28 17:40:46 2009 +0200 @@ -6,9 +6,9 @@ # GNU General Public License version 2, incorporated herein by reference. from i18n import _ +import util, encoding import os, smtplib, socket import email.Header, email.MIMEText, email.Utils -import util, encoding def _smtp(ui): '''build an smtp connection and return a function to send mail'''