Minor update for an Issue #287

This commit is contained in:
Miroslav Stampar
2012-12-12 14:03:03 +01:00
parent 32b39c72e4
commit c3f20a136f
5 changed files with 58 additions and 16 deletions

View File

@@ -31,3 +31,7 @@ FORMATTER = logging.Formatter("\r[%(asctime)s] [%(levelname)s] %(message)s", "%H
LOGGER_HANDLER.setFormatter(FORMATTER)
LOGGER.addHandler(LOGGER_HANDLER)
LOGGER.setLevel(logging.WARN)
def setLoggerHandler(handler):
LOGGER.handlers = []
LOGGER.addHandler(handler)

View File

@@ -1487,6 +1487,7 @@ def _setKnowledgeBaseAttributes(flushAll=True):
kb.brute = AttribDict({"tables":[], "columns":[]})
kb.bruteMode = False
kb.busyFlag = False
kb.cache = AttribDict()
kb.cache.content = {}