changeset 2929:bd74898588a3

mail: fix connect
author Brendan Cully <brendan@kublai.com>
date Wed, 16 Aug 2006 11:03:32 -0700
parents 27da6dddd0ee
children af71034aac90
files mercurial/mail.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/mail.py	Fri Aug 18 13:07:35 2006 +0200
+++ b/mercurial/mail.py	Wed Aug 16 11:03:32 2006 -0700
@@ -60,9 +60,9 @@
 
     method = ui.config('email', 'method', 'smtp')
     if method == 'smtp':
-        return smtp(ui)
+        return _smtp(ui)
 
-    return sendmail(ui, method)
+    return _sendmail(ui, method)
 
 def sendmail(ui, sender, recipients, msg):
     return connect(ui).sendmail(sender, recipients, msg)