# HG changeset patch # User Jeff Hammel # Date 1316396859 25200 # Node ID f8575a78ec064b3d14b7a4277841de586ce2aaea # Parent cf00d46b1bfb1f569b5a1f13f2a4c0b0b6d901ef fix variable name diff -r cf00d46b1bfb -r f8575a78ec06 fetch/main.py --- 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):