Minor update

This commit is contained in:
Miroslav Stampar 2014-12-14 00:14:18 +01:00
parent 87f8753483
commit fb645b90f7

View File

@ -2847,7 +2847,7 @@ def showHttpErrorCodes():
if any((str(_).startswith('4') or str(_).startswith('5')) and _ != httplib.INTERNAL_SERVER_ERROR and _ != kb.originalCode for _ in kb.httpErrorCodes.keys()): if any((str(_).startswith('4') or str(_).startswith('5')) and _ != httplib.INTERNAL_SERVER_ERROR and _ != kb.originalCode for _ in kb.httpErrorCodes.keys()):
msg = "too many 4xx and/or 5xx HTTP error codes " msg = "too many 4xx and/or 5xx HTTP error codes "
msg += "could mean that some kind of protection is involved (e.g. WAF)" msg += "could mean that some kind of protection is involved (e.g. WAF)"
logger.warn(msg) logger.debug(msg)
def openFile(filename, mode='r', encoding=UNICODE_ENCODING, errors="replace", buffering=1): def openFile(filename, mode='r', encoding=UNICODE_ENCODING, errors="replace", buffering=1):
""" """