mercurial/mail.py
changeset 14271 4030630fb59c
parent 14234 600e64004eb5
child 14965 194b043dfa51
--- a/mercurial/mail.py	Sun May 08 16:16:41 2011 -0500
+++ b/mercurial/mail.py	Sun May 08 20:35:46 2011 +0200
@@ -112,7 +112,7 @@
             raise util.Abort(_('smtp specified as email transport, '
                                'but no smtp host configured'))
     else:
-        if not util.find_exe(method):
+        if not util.findexe(method):
             raise util.Abort(_('%r specified as email transport, '
                                'but not in PATH') % method)