From 2662fe84f787b51c3a5450dd45dd54ee9177c5a2 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 8 Feb 2012 12:02:50 +0000 Subject: [PATCH] minor update --- lib/core/option.py | 1 + plugins/generic/enumeration.py | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/core/option.py b/lib/core/option.py index 55df79f3c..99ac0289d 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1455,6 +1455,7 @@ def __setKnowledgeBaseAttributes(flushAll=True): kb.pageEncoding = DEFAULT_PAGE_ENCODING kb.pageStable = None kb.partRun = None + kb.permissionFlag = False kb.processResponseCounter = 0 kb.proxyAuthHeader = None kb.queryCounter = 0 diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index 66f94b0e6..12c0ba5d3 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -1654,10 +1654,6 @@ class Enumeration: else: colEntry = entry[index] if index < len(entry) else u'' - if colEntry is None: - import pdb - pdb.set_trace() - colEntryLen = len(getUnicode(colEntry)) maxLen = max(colLen, colEntryLen)