some code refactoring and beautification

This commit is contained in:
Miroslav Stampar
2010-11-02 09:06:38 +00:00
parent 13e93f564a
commit 5269cb8c08
4 changed files with 13 additions and 10 deletions

View File

@@ -1028,8 +1028,6 @@ def __setKnowledgeBaseAttributes():
kb.commonOutputs = None
kb.data = advancedDict()
kb.data.cacheLock = threading.Lock()
kb.data.seqLock = None
# Basic back-end DBMS fingerprint
kb.dbms = None
@@ -1053,6 +1051,11 @@ def __setKnowledgeBaseAttributes():
kb.keywords = set(getFileItems(paths.SQL_KEYWORDS))
kb.lastErrorPage = None
kb.lastRequestUID = 0
kb.locks = advancedDict()
kb.locks.cacheLock = threading.Lock()
kb.locks.seqLock = None
kb.nullConnection = None
# Back-end DBMS underlying operating system fingerprint via banner (-b)