author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
Sun, 20 Aug 2006 02:21:59 -0300 | |
changeset 2964 | 26c8d37496c2 |
parent 2963 | a8546e40070a |
child 2965 | 890e285c52a1 |
child 2972 | 96d034d02d61 |
mercurial/mail.py | file | annotate | diff | comparison | revisions |
--- a/mercurial/mail.py +++ b/mercurial/mail.py @@ -18,8 +18,8 @@ def _smtp(ui): if not mailhost: raise util.Abort(_('no [smtp]host in hgrc - cannot send mail')) mailport = int(ui.config('smtp', 'port', 25)) - self.note(_('sending mail: smtp host %s, port %s\n') % - (mailhost, mailport)) + ui.note(_('sending mail: smtp host %s, port %s\n') % + (mailhost, mailport)) s.connect(host=mailhost, port=mailport) if ui.configbool('smtp', 'tls'): ui.note(_('(using tls)\n'))