minor update

This commit is contained in:
Miroslav Stampar 2012-02-08 12:02:50 +00:00
parent 85a4ef6593
commit 2662fe84f7
2 changed files with 1 additions and 4 deletions

View File

@ -1455,6 +1455,7 @@ def __setKnowledgeBaseAttributes(flushAll=True):
kb.pageEncoding = DEFAULT_PAGE_ENCODING kb.pageEncoding = DEFAULT_PAGE_ENCODING
kb.pageStable = None kb.pageStable = None
kb.partRun = None kb.partRun = None
kb.permissionFlag = False
kb.processResponseCounter = 0 kb.processResponseCounter = 0
kb.proxyAuthHeader = None kb.proxyAuthHeader = None
kb.queryCounter = 0 kb.queryCounter = 0

View File

@ -1654,10 +1654,6 @@ class Enumeration:
else: else:
colEntry = entry[index] if index < len(entry) else u'' colEntry = entry[index] if index < len(entry) else u''
if colEntry is None:
import pdb
pdb.set_trace()
colEntryLen = len(getUnicode(colEntry)) colEntryLen = len(getUnicode(colEntry))
maxLen = max(colLen, colEntryLen) maxLen = max(colLen, colEntryLen)