changeset 2964:26c8d37496c2

fix typo in mail.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sun, 20 Aug 2006 02:21:59 -0300
parents a8546e40070a
children 96d034d02d61 890e285c52a1
files mercurial/mail.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/mail.py	Sun Aug 20 02:21:51 2006 -0300
+++ b/mercurial/mail.py	Sun Aug 20 02:21:59 2006 -0300
@@ -18,8 +18,8 @@
     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'))