Minor refactoring

This commit is contained in:
Miroslav Stampar
2019-08-13 14:59:10 +02:00
parent bfe8785ed5
commit 0e14647573
3 changed files with 4 additions and 7 deletions

View File

@@ -1929,7 +1929,7 @@ def _setKnowledgeBaseAttributes(flushAll=True):
kb.lastParserStatus = None
kb.locks = AttribDict()
for _ in ("cache", "connError", "count", "handlers", "index", "io", "limit", "log", "socket", "redirect", "request", "value"):
for _ in ("cache", "connError", "count", "handlers", "hint", "index", "io", "limit", "log", "socket", "redirect", "request", "value"):
kb.locks[_] = threading.Lock()
kb.matchRatio = None