##// END OF EJS Templates
fix typo in mail.py
Alexis S. L. Carvalho -
r2964:26c8d374 default
parent child Browse files
Show More
@@ -18,8 +18,8 b' def _smtp(ui):'
18 if not mailhost:
18 if not mailhost:
19 raise util.Abort(_('no [smtp]host in hgrc - cannot send mail'))
19 raise util.Abort(_('no [smtp]host in hgrc - cannot send mail'))
20 mailport = int(ui.config('smtp', 'port', 25))
20 mailport = int(ui.config('smtp', 'port', 25))
21 self.note(_('sending mail: smtp host %s, port %s\n') %
21 ui.note(_('sending mail: smtp host %s, port %s\n') %
22 (mailhost, mailport))
22 (mailhost, mailport))
23 s.connect(host=mailhost, port=mailport)
23 s.connect(host=mailhost, port=mailport)
24 if ui.configbool('smtp', 'tls'):
24 if ui.configbool('smtp', 'tls'):
25 ui.note(_('(using tls)\n'))
25 ui.note(_('(using tls)\n'))
General Comments 0
You need to be logged in to leave comments. Login now