Added --code switch to match in boolean-based tests against the HTTP response code

This commit is contained in:
Bernardo Damele
2011-08-12 16:48:11 +00:00
parent e34787db99
commit 702ed73a65
9 changed files with 39 additions and 23 deletions

View File

@@ -1330,6 +1330,9 @@ def __cleanupOptions():
else:
kb.adjustTimeDelay = False
if conf.code:
conf.code = int(conf.code)
def __setConfAttributes():
"""
This function set some needed attributes into the configuration