diff mercurial/mail.py @ 2929:bd74898588a3

mail: fix connect
author Brendan Cully <brendan@kublai.com>
date Wed, 16 Aug 2006 11:03:32 -0700
parents 20b95aef3fe0
children 26c8d37496c2
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)