randomization of user agents

This commit is contained in:
Miroslav Stampar
2010-12-24 10:04:27 +00:00
parent d5eebb1cbf
commit d9f08e4aa3
2 changed files with 4 additions and 0 deletions

View File

@@ -1073,6 +1073,9 @@ def __cleanupOptions():
conf.nullConnection = not (conf.textOnly or conf.longestCommon)
conf.threads = 4 if conf.threads < 2 else conf.threads
if conf.realTest:
conf.userAgentsFile = paths.USER_AGENTS
def __setConfAttributes():
"""
This function set some needed attributes into the configuration