code refactoring

This commit is contained in:
Miroslav Stampar
2010-12-07 13:34:06 +00:00
parent 4f01d4c109
commit 0dc630203f
4 changed files with 10 additions and 15 deletions

View File

@@ -407,8 +407,10 @@ class Connect:
if conf.textOnly:
page = getFilteredPageContent(page)
if kb.flushCookies and conf.cj:
conf.cj.clear()
if kb.testMode:
kb.testQueryCount += 1
if conf.cj:
conf.cj.clear()
if content or response:
return page, headers