use dict.update()

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2035 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2004-11-22 22:51:28 +00:00
parent 141a3d1c94
commit dfe43e5c3f

View file

@ -91,8 +91,7 @@ def get_test_consumer (confargs, logargs):
config["anchors"] = True
config["verbose"] = True
config['threads'] = 0
for key, value in confargs.items():
config[key] = value
config.update(confargs)
cache = linkcheck.checker.cache.Cache()
return linkcheck.checker.consumer.Consumer(config, cache)