diff hgext/convert/gnuarch.py @ 14271:4030630fb59c

rename util.find_exe to findexe
author Adrian Buehlmann <adrian@cadifra.com>
date Sun, 08 May 2011 20:35:46 +0200
parents b6173aee4a47
children dbdb777502dc
line wrap: on
line diff
--- a/hgext/convert/gnuarch.py	Sun May 08 16:16:41 2011 -0500
+++ b/hgext/convert/gnuarch.py	Sun May 08 20:35:46 2011 +0200
@@ -36,10 +36,10 @@
 
         # Could use checktool, but we want to check for baz or tla.
         self.execmd = None
-        if util.find_exe('baz'):
+        if util.findexe('baz'):
             self.execmd = 'baz'
         else:
-            if util.find_exe('tla'):
+            if util.findexe('tla'):
                 self.execmd = 'tla'
             else:
                 raise util.Abort(_('cannot find a GNU Arch tool'))