Proper fix for problem URL tests exposed

This commit is contained in:
James Vega 2004-08-26 02:29:48 +00:00
parent a8584ba898
commit 533fbd2762

View File

@ -751,7 +751,7 @@ class CommandThread(threading.Thread):
"""Just does some extra logging and error-recovery for commands that need
to run in threads.
"""
def __init__(self, target=None, args=None, kwargs=None):
def __init__(self, target=None, args=(), kwargs={}):
(self.name, self.command, self.cb) = args
world.threadsSpawned += 1
threadName = 'Thread #%s (for %s.%s)' % (world.threadsSpawned,