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
1 changed files with 1 additions and 1 deletions

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,