minor update

This commit is contained in:
Miroslav Stampar 2011-06-20 13:53:39 +00:00
parent 29314f425e
commit 17fac6f67f

View File

@ -97,6 +97,10 @@ class Crawler:
logger.critical(errMsg) logger.critical(errMsg)
finally: finally:
for url in threadData.shared.outputs: if not threadData.shared.outputs:
kb.targetUrls.add(( url, None, None, None )) warnMsg = "no usable links found (with GET parameters)"
logger.warn(warnMsg)
else:
for url in threadData.shared.outputs:
kb.targetUrls.add(( url, None, None, None ))
kb.suppressResumeInfo = False kb.suppressResumeInfo = False