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 |
|
|
21 | ui.note(_('sending mail: smtp host %s, port %s\n') % | |
22 |
|
|
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