commit 87cb7f97d3212d5a3d8e9483c1f1321533921dd2
Author: S.Çağlar Onur <caglar@cs.princeton.edu>
Date:   Mon Aug 2 15:04:36 2010 -0400

    Traceback (most recent call last):
      File "/usr/bin/func", line 28, in <module>
        sys.exit(cli.parse(argv))
      File "/usr/lib/python2.5/site-packages/func/overlord/command.py", line 252, in parse
        return self.subCommands[command].parse(args[1:])
      File "/usr/lib/python2.5/site-packages/func/overlord/cmd_modules/call.py", line 227, in parse
        return base_command.BaseCommand.parse(self, argv)
      File "/usr/lib/python2.5/site-packages/func/overlord/command.py", line 233, in parse
        ret = self.do(args)
      File "/usr/lib/python2.5/site-packages/func/overlord/cmd_modules/call.py", line 329, in do
        results = self.overlord_obj.run(self.module, self.method, self.method_args)
      File "/usr/lib/python2.5/site-packages/func/overlord/client.py", line 695, in run
        suboverlord=group))
      File "/usr/lib/python2.5/site-packages/func/overlord/client.py", line 828, in run_direct
        minionurls = minionobj.get_urls(hosts=minion_hosts) #the single-item url list to make async
    NameError: global name 'minionobj' is not defined

diff --git a/func/overlord/client.py b/func/overlord/client.py
index d06bff8..c75c3e5 100644
--- a/func/overlord/client.py
+++ b/func/overlord/client.py
@@ -766,6 +766,7 @@ class Overlord(object):
         results = {}
         spec = ''
         minionurls = []
+        minion_hosts = []
         use_delegate = False
         delegation_path = []
 
@@ -830,7 +831,7 @@ class Overlord(object):
             spec = kwargs['suboverlord'] #the sub-overlord directly beneath this one
             minions_hosts = self.minions_class.get_hosts_for_spec(spec)
             use_delegate = True #signal to process_server to call delegate method
-            minionurls = minionobj.get_urls(hosts=minion_hosts) #the single-item url list to make async
+            minionurls = self.minions_class.get_urls(hosts=minion_hosts) #the single-item url list to make async
                                               #tools such as jobthing/forkbomb happy
         else: #we're directly calling minions, so treat everything normally
             spec = self.server_spec
