changeset 9:f8575a78ec06

fix variable name
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 18 Sep 2011 18:47:39 -0700
parents cf00d46b1bfb
children 0b534c8881de
files fetch/main.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/fetch/main.py	Sun Sep 18 18:46:31 2011 -0700
+++ b/fetch/main.py	Sun Sep 18 18:47:39 2011 -0700
@@ -15,8 +15,8 @@
   # XXX from https://github.com/mozautomation/mozmill/blob/master/mozrunner/mozrunner/utils.py
   dirs = path.split(os.pathsep)
   for dir in dirs:
-    if os.path.isfile(os.path.join(dir, fileName)):
-      return os.path.join(dir, fileName)
+    if os.path.isfile(os.path.join(dir, executable)):
+      return os.path.join(dir, executable)
 
 
 class Fetcher(object):