Reverting set() brace form because of Python 2.6 compatibility issues

This commit is contained in:
Miroslav Stampar
2018-01-31 11:24:28 +01:00
parent 0a8bc52910
commit 10fd004dec
8 changed files with 18 additions and 15 deletions

View File

@@ -126,7 +126,7 @@ def crawl(target):
dataToStdout("\r[%s] [INFO] %s" % (time.strftime("%X"), status), True)
threadData.shared.deeper = set()
threadData.shared.unprocessed = {target}
threadData.shared.unprocessed = set([target])
if not conf.sitemapUrl:
message = "do you want to check for the existence of "