mail: fix connect
authorBrendan Cully <brendan@kublai.com>
Wed, 16 Aug 2006 11:03:32 -0700
changeset 2929 bd74898588a3
parent 2928 27da6dddd0ee
child 2930 af71034aac90
mail: fix connect
mercurial/mail.py
--- 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)