changeset 2964 | 26c8d37496c2 |
parent 2929 | bd74898588a3 |
child 3886 | abaee83ce0a6 |
child 4093 | 669f99f78db0 |
--- 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'))