# HG changeset patch # User Alexis S. L. Carvalho # Date 2006-08-20 05:21:59 # Node ID 26c8d37496c259520139b112fa2bc942057a0e8e # Parent a8546e40070af6fd444ca50ff7abe1fb54d6fbaa fix typo in mail.py diff --git a/mercurial/mail.py b/mercurial/mail.py --- 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'))